Rust

Rust

By DeepSource

Found no-op macro call RS-W1017

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