Macro concat_writeable
Source macro_rules! concat_writeable {
($x:expr) => { ... };
($x:expr, $($y:expr),+) => { ... };
}
Expand description
Returns a Writeable concatenating any number of Writeables.
The macro resolves to a nested Concat.
ยงExamples
use writeable::assert_writeable_eq;
let concatenated = writeable::concat_writeable!("Health: ", 5, '/', 8);
assert_writeable_eq!(concatenated, "Health: 5/8");