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.
fn po_min<T: PartialOrd>(a: T, b: T) -> T
Like std::cmp::min
, but works with PartialOrd
values.
If a
and b
are not comparable, b
is returned.