Rust logoRust/
RS-C1006

Empty format string in macro callRS-C1006

Minor severityMinor
Anti-pattern categoryAnti-pattern

Empty format strings in macros such as println! and eprintln! have no effect. Simply use println!() instead of println!(""), which is much simpler.

Bad practice

println!("")
println!()