pub fn partial_max<T>(a: T, b: T) -> T
where T: PartialOrd,
Expand description

Compares and returns the maximum of two values, using partial ordering.