macro_rules! appendln {
($s:expr $(, $($items:tt)*)?) => { ... };
}Expand description
Push a line (with newline) to a string efficiently.
Equivalent to appends! followed by a newline character.
ยงExamples
use vize_l0::appendln;
let mut s = String::new();
appendln!(s, "Hello, world!");
assert_eq!(s, "Hello, world!\n");