Skip to content

Commit

Permalink
cargo fmt & clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
CreepySkeleton committed Oct 12, 2020
1 parent 0852b91 commit 4c17b61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions structopt-derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
//! for the usage of `#[derive(StructOpt)]`.

#![allow(clippy::large_enum_variant)]
// FIXME: remove when and if our MSRV hits 1.42
#![allow(clippy::match_like_matches_macro)]
#![forbid(unsafe_code)]

extern crate proc_macro;
Expand Down
2 changes: 1 addition & 1 deletion tests/regressions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fn invisible_group_issue_439() {
#[derive(Debug, StructOpt)]
struct Opts {
#[structopt(long = "x")]
x: $bool
x: $bool,
}
};
}
Expand Down

0 comments on commit 4c17b61

Please sign in to comment.