mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-14 08:57:30 +00:00
Update clippy_lints/src/needless_bool.rs
This commit is contained in:
parent
ff9602515e
commit
c8f3241177
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ fn one_side_is_unary_not<'tcx>(left_side: &'tcx Expr<'_>, right_side: &'tcx Expr
|
|||
let right = is_unary_not(right_side);
|
||||
|
||||
ExpressionInfoWithSpan {
|
||||
one_side_is_unary_not: left.0 ^ right.0,
|
||||
one_side_is_unary_not: left.0 != right.0,
|
||||
left_span: left.1,
|
||||
right_span: right.1,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue