Skip to content

Commit 52c6ef7

Browse files
committed
fmt
1 parent 760f91f commit 52c6ef7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

clippy_lints/src/large_stack_frames.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,7 @@ impl AddAssign<u64> for Space {
116116
if let Self::Used(lhs) = self {
117117
match lhs.checked_add(rhs) {
118118
Some(sum) => *self = Self::Used(sum),
119-
None => {
120-
*self = Self::Overflow;
121-
},
119+
None => *self = Self::Overflow,
122120
}
123121
}
124122
}

0 commit comments

Comments
 (0)