Update clippy_lints/src/needless_bool.rs

This commit is contained in:
Jane Lusby 2020-03-30 12:19:30 -07:00 committed by GitHub
parent ff9602515e
commit c8f3241177
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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,
}