max

Function max 

Source
pub fn max<T>(a: T, b: T) -> T
where T: Copy + PartialOrd,
Expand description

Return the maximum of two values.

  • a, b the values.

returns the maximum of two values.