Typo
This commit is contained in:
parent
dba5adae6e
commit
8bfe3db531
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue