mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 21:53:23 +00:00
3187cad8ec
Get rid of the too-many-lines error.
18 lines
242 B
Rust
18 lines
242 B
Rust
// run-rustfix
|
|
#![allow(clippy::match_single_binding)]
|
|
|
|
fn main() {
|
|
println!();
|
|
println!("");
|
|
|
|
match "a" {
|
|
_ => println!(""),
|
|
}
|
|
|
|
eprintln!();
|
|
eprintln!("");
|
|
|
|
match "a" {
|
|
_ => eprintln!(""),
|
|
}
|
|
}
|