From 8bfe3db531993eef4c5de43e48c40d55f803e94d Mon Sep 17 00:00:00 2001 From: Caio Date: Thu, 15 Sep 2022 13:40:49 -0300 Subject: [PATCH] Typo --- clippy_lints/src/operators/arithmetic_side_effects.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/operators/arithmetic_side_effects.rs b/clippy_lints/src/operators/arithmetic_side_effects.rs index 4629ea1f65b1..0070eef52e4f 100644 --- a/clippy_lints/src/operators/arithmetic_side_effects.rs +++ b/clippy_lints/src/operators/arithmetic_side_effects.rs @@ -120,7 +120,7 @@ impl ArithmeticSideEffects { return; } let has_valid_op = match ( - Self::is_literal_integer(lhs, cx.typeck_results().expr_ty(rhs).peel_refs()), + Self::is_literal_integer(lhs, cx.typeck_results().expr_ty(lhs).peel_refs()), Self::is_literal_integer(rhs, cx.typeck_results().expr_ty(rhs).peel_refs()), ) { (true, true) => true,