]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/println_empty_string.fixed
Rollup merge of #100291 - WaffleLapkin:cstr_const_methods, r=oli-obk
[rust.git] / src / tools / clippy / tests / ui / println_empty_string.fixed
1 // run-rustfix
2 #![allow(clippy::match_single_binding)]
3
4 fn main() {
5     println!();
6     println!();
7
8     match "a" {
9         _ => println!(),
10     }
11
12     eprintln!();
13     eprintln!();
14
15     match "a" {
16         _ => eprintln!(),
17     }
18 }