Macro flexstr::a_flex_ufmt
source · [−]macro_rules! a_flex_ufmt {
($($arg:tt)*) => { ... };
}Expand description
Equivalent to a_flex_fmt except that it uses ufmt which is much faster, but has limitations.
See ufmt docs for more details
use flexstr::{a_flex_str, a_flex_ufmt};
let a = a_flex_ufmt!("Is {}{}", a_flex_str!("inlined"), "!");
assert!(a.is_inlined());
assert_eq!(a, "Is inlined!");