Rust

Rust

Made by DeepSource

Empty format string in macro call RS-C1006

Anti-pattern
Minor
Autofix

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!("")

Recommended

println!()