We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2c5e49 commit ea97478Copy full SHA for ea97478
clippy_lints/src/field_reassign_with_default.rs
@@ -44,8 +44,7 @@ impl LateLintPass<'_> for FieldReassignWithDefault {
44
// find all binding statements like `let mut _ = T::default()` where `T::default()` is the
45
// `default` method of the `Default` trait, and store statement index in current block being
46
// checked and the name of the bound variable
47
- let binding_statements_using_default =
48
- enumerate_bindings_using_default(cx, block);
+ let binding_statements_using_default = enumerate_bindings_using_default(cx, block);
49
50
// start from the `let mut _ = _::default();` and look at all the following
51
// statements, see if they re-assign the fields of the binding
0 commit comments