[][src]Macro fomat_macros::witeln

macro_rules! witeln {
    ($writer:expr, $($arg:tt)*) => { ... };
    ($writer:expr) => { ... };
}

Writes to a specified writer, with an appended newline. Analogous to writeln!.

See the documentation for wite!.

When there are no arguments, the comma may be omitted.

Examples

witeln!(file).unwrap();
witeln!(file, "Hi").unwrap();