mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-05 11:48:30 +00:00
Typo
This commit is contained in:
parent
dba5adae6e
commit
8bfe3db531
@ -120,7 +120,7 @@ impl ArithmeticSideEffects {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
let has_valid_op = match (
|
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()),
|
Self::is_literal_integer(rhs, cx.typeck_results().expr_ty(rhs).peel_refs()),
|
||||||
) {
|
) {
|
||||||
(true, true) => true,
|
(true, true) => true,
|
||||||
|
Loading…
Reference in New Issue
Block a user