Skip to main content

deprint

Macro deprint 

Source
macro_rules! deprint {
    ($template:literal, $($args:tt)*) => { ... };
    ($template:expr, $($args:tt)*) => { ... };
}
Expand description

Dynamic drop in eprint! replacement.

dfmt::deprint!("Hello, {}!", "World").unwrap();
dfmt::deprint!("Hello, {}!".to_string(), "World").unwrap();

Refer to the dformat!() documentation for the full API overview.