Skip to content

Commit ccb6f48

Browse files
hegzaebroto
authored andcommitted
Update clippy_lints/src/field_reassign_with_default.rs
Co-authored-by: Eduardo Broto <ebroto@tutanota.com>
1 parent 1062661 commit ccb6f48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/field_reassign_with_default.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ declare_lint_pass!(FieldReassignWithDefault => [FIELD_REASSIGN_WITH_DEFAULT]);
4242
impl LateLintPass<'_> for FieldReassignWithDefault {
4343
fn check_block(&mut self, cx: &LateContext<'_>, block: &Block<'_>) {
4444
// 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
45+
// `default` method of the `Default` trait, and store statement index in current block being
4646
// checked and the name of the bound variable
4747
let binding_statements_using_default: Vec<(usize, Symbol, &TyS<'_>)> =
4848
enumerate_bindings_using_default(cx, block);

0 commit comments

Comments
 (0)