Skip to content

Commit 8bfe3db

Browse files
committed
Typo
1 parent dba5ada commit 8bfe3db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/operators/arithmetic_side_effects.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ impl ArithmeticSideEffects {
120120
return;
121121
}
122122
let has_valid_op = match (
123-
Self::is_literal_integer(lhs, cx.typeck_results().expr_ty(rhs).peel_refs()),
123+
Self::is_literal_integer(lhs, cx.typeck_results().expr_ty(lhs).peel_refs()),
124124
Self::is_literal_integer(rhs, cx.typeck_results().expr_ty(rhs).peel_refs()),
125125
) {
126126
(true, true) => true,

0 commit comments

Comments
 (0)