Skip to content

Commit 62f1680

Browse files
author
Giorgio Gambino
committed
Fix #3335 rev1: bool_comparison triggers 3 times on same code
1 parent 7cfde9c commit 62f1680

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ui/needless_bool.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,4 +103,4 @@ fn needless_bool3(x: bool) {
103103

104104
if x == true { };
105105
if x == false { };
106-
}
106+
}

0 commit comments

Comments
 (0)