Macro og_fmt::fmt [] [src]

macro_rules! fmt {
    ($($arg:tt)*) => { ... };
}

Convert values into String like a winner.

See also format!.

Examples

#[macro_use]
extern crate og_fmt;

fn main() {
    fmt!("test");
    fmt!("hello {}", "world!");
    fmt!("x = {}, y = {y}", 10, y = 30);
}