Macro place_macro::ignore

source ·
ignore!() { /* proc-macro */ }
Expand description

Ignores all the input, as if there was nothing

Examples

use place_macro::ignore;

let mut i = 5;
ignore!(i = 10);
assert_eq!(i, 5);