Rust

Rust

Made by DeepSource

Found no-op macro call RS-W1017

Anti-pattern
Minor
Autofix

Calling the print! or write! macros with an empty format string has no effect.

Such statements are probably remnants of debugging. Remove them.

Bad practice

let mut buf = String::new();
write!(&mut buf, "");
print!("");
eprint!("");