macro_rules! witeln { ($writer:expr, $($arg:tt)*) => { ... }; ($writer:expr) => { ... }; }
Writes to a specified writer, with an appended newline. Analogous to writeln!.
writeln!
See the documentation for wite!.
wite!
When there are no arguments, the comma may be omitted.
witeln!(file).unwrap(); witeln!(file, "Hi").unwrap();