mz_ore::stats

Function po_min

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

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

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