macro_rules! format_smallstr {
($($tt:tt)*) => { ... };
}Expand description
like format!
use small_str::{format_smallstr, SmallString};
let foo = "foo";
let bar = String::from("bar");
assert_eq!(format_smallstr!("{}{}", foo, bar), SmallString::from("foobar"));