Skip to main content

fmtand

Macro fmtand 

Source
macro_rules! fmtand {
    ($mac:ident !( $($fmt_args:tt)* )) => { ... };
}
Expand description

Format and invoke a print macro

ยงExample

let x = cu::fmtand!(error!("found {} errors", 3));
assert_eq!(x, "found 3 errors");