Skip to content

Commit

Permalink
Silence all clippy warnings in generated code (#331)
Browse files Browse the repository at this point in the history
  • Loading branch information
CreepySkeleton authored Jan 16, 2020
1 parent d804cec commit ba298f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion structopt-derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ fn impl_structopt_for_enum(
quote! {
#[allow(unknown_lints)]
#[allow(unused_variables, dead_code, unreachable_code)]
#[allow(clippy)]
#[allow(clippy::all)]
impl ::structopt::StructOpt for #name {
#clap_tokens
#from_clap
Expand Down

0 comments on commit ba298f8

Please sign in to comment.