Skip to content

Commit d989f43

Browse files
committed
Update needless_if.fixed
1 parent 59bca09 commit d989f43

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/ui/needless_if.fixed

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,10 @@ fn main() {
4848
if let true = true {}
4949
if let true = true && true {}
5050
if true && let true = true {}
51-
if { if let true = true && true { true } else { false } } && true {}
51+
if {
52+
if let true = true && true { true } else { false }
53+
} && true
54+
{}
5255
external! { if (true) {} }
5356
with_span! {
5457
span

0 commit comments

Comments
 (0)