File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -109,6 +109,7 @@ pub fn gen_for_struct(
109109 clippy:: nursery,
110110 clippy:: cargo,
111111 clippy:: suspicious_else_formatting,
112+ clippy:: almost_swapped,
112113 ) ]
113114 #[ deny( clippy:: correctness) ]
114115 impl #impl_generics clap:: FromArgMatches for #item_name #ty_generics #where_clause {
@@ -144,6 +145,7 @@ pub fn gen_for_struct(
144145 clippy:: nursery,
145146 clippy:: cargo,
146147 clippy:: suspicious_else_formatting,
148+ clippy:: almost_swapped,
147149 ) ]
148150 #[ deny( clippy:: correctness) ]
149151 impl #impl_generics clap:: Args for #item_name #ty_generics #where_clause {
Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ pub fn gen_for_enum(
8080 clippy:: nursery,
8181 clippy:: cargo,
8282 clippy:: suspicious_else_formatting,
83+ clippy:: almost_swapped,
8384 ) ]
8485 #[ deny( clippy:: correctness) ]
8586 impl #impl_generics clap:: FromArgMatches for #item_name #ty_generics #where_clause {
@@ -106,6 +107,7 @@ pub fn gen_for_enum(
106107 clippy:: nursery,
107108 clippy:: cargo,
108109 clippy:: suspicious_else_formatting,
110+ clippy:: almost_swapped,
109111 ) ]
110112 #[ deny( clippy:: correctness) ]
111113 impl #impl_generics clap:: Subcommand for #item_name #ty_generics #where_clause {
You can’t perform that action at this time.
0 commit comments