2
0
Fork 0
mirror of https://github.com/rust-lang/rust-clippy synced 2024-12-23 03:23:33 +00:00
rust-clippy/tests/ui/println_empty_string.fixed

18 lines
234 B
Rust

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