pub fn max<T: PartialOrd>(x: T, y: T) -> T
Maximum of two values that implement the PartialOrd trait.
PartialOrd