mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-16 14:07:04 +00:00
Typo
This commit is contained in:
parent
dba5adae6e
commit
8bfe3db531
@ -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…
Reference in New Issue
Block a user