Skip to content

Commit 96ef5b0

Browse files
committed
Small formatting change
1 parent 5f8cf37 commit 96ef5b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/implicit_saturating_sub.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,13 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for ImplicitSaturatingSub {
107107
}
108108
},
109109
ExprKind::Path(ref cond_num_path) => {
110-
if INT_TYPES.iter().any( |int_type| match_qpath(cond_num_path, &[int_type, "MIN"])) {
110+
if INT_TYPES.iter().any(|int_type| match_qpath(cond_num_path, &[int_type, "MIN"])) {
111111
print_lint_and_sugg(cx, &var_name, expr);
112112
};
113113
},
114114
ExprKind::Call(ref func, _) => {
115115
if let ExprKind::Path(ref cond_num_path) = func.kind {
116-
if INT_TYPES.iter().any( |int_type| match_qpath(cond_num_path, &[int_type, "min_value"])) {
116+
if INT_TYPES.iter().any(|int_type| match_qpath(cond_num_path, &[int_type, "min_value"])) {
117117
print_lint_and_sugg(cx, &var_name, expr);
118118
}
119119
};

0 commit comments

Comments
 (0)