For example println!() or writeln!(stream) would just write a line break.
This mirrors the functionality of the std macros, making these more of a drop in replacement. Note the write_with_newline clippy lint prefers this short form, which can be annoying since it also triggers when using writeln from this crate.
For example
println!()
orwriteln!(stream)
would just write a line break.This mirrors the functionality of the std macros, making these more of a drop in replacement. Note the write_with_newline clippy lint prefers this short form, which can be annoying since it also triggers when using
writeln
from this crate.