rust-clippy/tests/ui/println_empty_string.fixed
Eduardo Broto 3187cad8ec Factor out some code in write.rs
Get rid of the too-many-lines error.
2020-12-08 23:17:12 +01:00

18 lines
234 B
Rust

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