rust/tests/ui/println_empty_string.fixed

19 lines
234 B
Rust
Raw Normal View History

// run-rustfix
2020-02-04 08:20:49 +01:00
#![allow(clippy::match_single_binding)]
fn main() {
println!();
println!();
match "a" {
_ => println!(),
}
eprintln!();
eprintln!();
match "a" {
_ => eprintln!(),
}
}