Update clippy_lints/src/needless_bool.rs
This commit is contained in:
parent
ff9602515e
commit
c8f3241177
@ -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);
|
let right = is_unary_not(right_side);
|
||||||
|
|
||||||
ExpressionInfoWithSpan {
|
ExpressionInfoWithSpan {
|
||||||
one_side_is_unary_not: left.0 ^ right.0,
|
one_side_is_unary_not: left.0 != right.0,
|
||||||
left_span: left.1,
|
left_span: left.1,
|
||||||
right_span: right.1,
|
right_span: right.1,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user