1 2 3 4 5 6 7 8
#[macro_export] macro_rules! debug { ($string:tt $(, $expr:expr)*) => { if cfg!(any(debug_assertions, feature="debug")) { println!(concat!("\nwasabi::", $string) $(, $expr)*) } }; }
1 2 3 4 5 6 7 8
#[macro_export] macro_rules! debug { ($string:tt $(, $expr:expr)*) => { if cfg!(any(debug_assertions, feature="debug")) { println!(concat!("\nwasabi::", $string) $(, $expr)*) } }; }