mirror of
https://github.com/openharmony/third_party_rust_rust.git
synced 2026-07-20 22:57:39 -04:00
3187cad8ec
Get rid of the too-many-lines error.
19 lines
234 B
Rust
19 lines
234 B
Rust
// run-rustfix
|
|
#![allow(clippy::match_single_binding)]
|
|
|
|
fn main() {
|
|
println!();
|
|
println!();
|
|
|
|
match "a" {
|
|
_ => println!(),
|
|
}
|
|
|
|
eprintln!();
|
|
eprintln!();
|
|
|
|
match "a" {
|
|
_ => eprintln!(),
|
|
}
|
|
}
|