Skip to content

Commit 965cb2c

Browse files
committed
More clippy fixes
1 parent a560dcf commit 965cb2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bon-macros/src/builder/builder_gen/generic_setters.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ impl<'a> GenericSettersCtx<'a> {
3232
find_type_params_in_bounds(&type_param.bounds, &type_param_idents);
3333
if params_in_bounds.len() > 1
3434
|| (params_in_bounds.len() == 1
35-
&& params_in_bounds.get(0) != Some(&&type_param.ident))
35+
&& params_in_bounds.first() != Some(&&type_param.ident))
3636
{
3737
let params_str = params_in_bounds
3838
.iter()

0 commit comments

Comments
 (0)