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