swrite

Macro swrite

Source
macro_rules! swrite {
    ($dst:expr, $($arg:tt)*) => { ... };
}
Expand description

Write formatted text to the given String.

ยงExample

use swrite::{SWrite, swrite};
let mut s = String::new();
swrite!(s, "The answer is {}.", 42);