Macro place_macro::start
source · start!() { /* proc-macro */ }
Expand description
Expands to all but the last token
Examples
use place_macro::start;
let n = start!(5 + 3 +);
assert_eq!(n, 5 + 3);
// expands to nothing
start!();
start!() { /* proc-macro */ }
Expands to all but the last token
use place_macro::start;
let n = start!(5 + 3 +);
assert_eq!(n, 5 + 3);
// expands to nothing
start!();