mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 23:20:39 +00:00
Update needless_if.fixed
This commit is contained in:
parent
59bca098f9
commit
d989f432a4
1 changed files with 4 additions and 1 deletions
|
@ -48,7 +48,10 @@ fn main() {
|
|||
if let true = true {}
|
||||
if let true = true && true {}
|
||||
if true && let true = true {}
|
||||
if { if let true = true && true { true } else { false } } && true {}
|
||||
if {
|
||||
if let true = true && true { true } else { false }
|
||||
} && true
|
||||
{}
|
||||
external! { if (true) {} }
|
||||
with_span! {
|
||||
span
|
||||
|
|
Loading…
Reference in a new issue