File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -109,6 +109,7 @@ pub fn gen_for_struct(
109
109
clippy:: nursery,
110
110
clippy:: cargo,
111
111
clippy:: suspicious_else_formatting,
112
+ clippy:: almost_swapped,
112
113
) ]
113
114
#[ deny( clippy:: correctness) ]
114
115
impl #impl_generics clap:: FromArgMatches for #item_name #ty_generics #where_clause {
@@ -144,6 +145,7 @@ pub fn gen_for_struct(
144
145
clippy:: nursery,
145
146
clippy:: cargo,
146
147
clippy:: suspicious_else_formatting,
148
+ clippy:: almost_swapped,
147
149
) ]
148
150
#[ deny( clippy:: correctness) ]
149
151
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(
80
80
clippy:: nursery,
81
81
clippy:: cargo,
82
82
clippy:: suspicious_else_formatting,
83
+ clippy:: almost_swapped,
83
84
) ]
84
85
#[ deny( clippy:: correctness) ]
85
86
impl #impl_generics clap:: FromArgMatches for #item_name #ty_generics #where_clause {
@@ -106,6 +107,7 @@ pub fn gen_for_enum(
106
107
clippy:: nursery,
107
108
clippy:: cargo,
108
109
clippy:: suspicious_else_formatting,
110
+ clippy:: almost_swapped,
109
111
) ]
110
112
#[ deny( clippy:: correctness) ]
111
113
impl #impl_generics clap:: Subcommand for #item_name #ty_generics #where_clause {
You can’t perform that action at this time.
0 commit comments