Skip to main content

dprint

Macro dprint 

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

Dynamic drop in print! replacement.

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

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