Skip to content

Commit fb94917

Browse files
committed
cargo fmt
1 parent 9695bad commit fb94917

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

support/linting/src/forbid_saturating_math.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,8 @@ fn is_saturating_math_call(func: &Expr) -> bool {
5050
return false;
5151
};
5252

53-
path.last().is_some_and(|seg| {
54-
seg.ident.to_string().starts_with("saturating_")
55-
})
53+
path.last()
54+
.is_some_and(|seg| seg.ident.to_string().starts_with("saturating_"))
5655
}
5756

5857
#[cfg(test)]

0 commit comments

Comments
 (0)