macro_rules! max { ($x:expr) => { ... }; ($x:expr, $($y:expr),+) => { ... }; }
Expand description
expr return max value
use doe::*;
let re_max = max!(1, 20);
assert_eq!(re_max,20);
macro_rules! max { ($x:expr) => { ... }; ($x:expr, $($y:expr),+) => { ... }; }
use doe::*;
let re_max = max!(1, 20);
assert_eq!(re_max,20);