mirror of
https://github.com/rust-lang/rust.git
synced 2026-03-27 16:16:30 +00:00
Update clippy_lints/src/needless_bool.rs
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user