pub const fn max(a: i8, b: i8) -> i8
Returns the maximum of a and b
a
b
use const_utils::i8::max; assert!(max(100, 10) == 100); assert!(max(0, 100) == 100);