Macro interpolator::ieprint

source ·
macro_rules! ieprint {
    ($($fmt:tt)*) => { ... };
}
Expand description

eprint! but using iformat!.

Currently this allocates the complete formatted string.

For details on the context syntax see context!.

use interpolator::ieprint;
ieprint!("{a}, {b:?}", a = 10, b:? = "test").unwrap();