Skip to content

Commit 97f082d

Browse files
hegzaebroto
andauthored
Update clippy_lints/src/field_reassign_with_default.rs
Co-authored-by: Eduardo Broto <ebroto@tutanota.com>
1 parent 3b82c21 commit 97f082d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clippy_lints/src/field_reassign_with_default.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,7 @@ fn enumerate_bindings_using_default<'cx, 'hir>(
156156
return None;
157157
}
158158
Some((idx, ident.name, ty))
159-
}
160-
else {
159+
} else {
161160
None
162161
}
163162
}

0 commit comments

Comments
 (0)