2
0
Fork 0
mirror of https://github.com/rust-lang/rust-clippy synced 2025-01-04 09:18:44 +00:00
rust-clippy/tests/ui/author/if.rs

11 lines
133 B
Rust
Raw Normal View History

#[allow(clippy::all)]
fn main() {
#[clippy::author]
let _ = if true {
1 == 1;
} else {
2 == 2;
};
}