pub fn partial_max<T>(a: T, b: T) -> T
where
    T: PartialOrd,
{
    if a >= b {
        a
    } else {
        b
    }
}
/// The max between two partially ordered values.
The max between two partially ordered values.
The max between two partially ordered values .
pub fn partial_max<T>(a: T, b: T) -> T
where
    T: PartialOrd,
{
    if a >= b {
        a
    } else {
        b
    }
}
pub fn partial_max < T > ( a : T , b : T ) -> T where T : PartialOrd , { if a >= b { a } else { b } }
The max between two partially ordered values.
The max between two partially ordered values .
a
T
b
T
a
T
b
T