mz_ore::stats

Function po_max

Source
fn po_max<T: PartialOrd>(a: T, b: T) -> T
Expand description

Like std::cmp::max, but works with PartialOrd values.

If a and b are not comparable, b is returned.