rust-clippy/tests/ui/println_empty_string.fixed
2023-08-11 14:02:28 +00:00

17 lines
219 B
Rust

#![allow(clippy::match_single_binding)]
fn main() {
println!();
println!();
match "a" {
_ => println!(),
}
eprintln!();
eprintln!();
match "a" {
_ => eprintln!(),
}
}