Macro interpolator::iprint

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

print! but using iformat!.

Currently this allocates the complete formatted string.

For details on the context syntax see context!.

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