mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 21:23:56 +00:00
fixed typo from last commit
This commit is contained in:
parent
7a8de35abc
commit
23525081f9
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ impl LintPass for Precedence {
|
||||||
|
|
||||||
fn is_arith_expr(expr : &Expr) -> bool {
|
fn is_arith_expr(expr : &Expr) -> bool {
|
||||||
match expr.node {
|
match expr.node {
|
||||||
ExprBinary(Spanned { node: op, ..}, _, _) => is_arith_op(lop),
|
ExprBinary(Spanned { node: op, ..}, _, _) => is_arith_op(op),
|
||||||
_ => false
|
_ => false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue