macro_rules! append {
($dst:expr, $($arg:tt)*) => { ... };
}Expand description
Push formatted content to a string using write!.
Works on both std::string::String and CompactString (anything
implementing std::fmt::Write).
ยงExamples
use vize_l0::append;
let mut s = String::new();
let name = "world";
append!(s, "Hello, {name}!");
assert_eq!(s, "Hello, world!");