rust-clippy/tests/ui/println_empty_string.rs

12 lines
154 B
Rust
Raw Normal View History

// run-rustfix
2020-02-04 07:20:49 +00:00
#![allow(clippy::match_single_binding)]
2017-10-20 14:45:17 +00:00
fn main() {
println!();
println!("");
match "a" {
_ => println!(""),
}
2017-10-20 14:45:17 +00:00
}