Skip to content

Commit

Permalink
Update clippy_lints/src/needless_bool.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
yaahc authored Mar 30, 2020
1 parent ff96025 commit c8f3241
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/needless_bool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
Expand Down

0 comments on commit c8f3241

Please sign in to comment.