Function max

Source
pub const fn max(a: i32, b: i32) -> i32
Expand description

Returns the maximum of a and b

use const_utils::i32::max;
assert!(max(100, 10) == 100);
assert!(max(0, 100) == 100);