pub fn max_by<T, F>(v1: T, v2: T, compare: F) -> TExpand description
Returns the maximum of two values with respect to the specified comparison function.
Returns the second argument if the comparison determines them to be equal.
pub fn max_by<T, F>(v1: T, v2: T, compare: F) -> TReturns the maximum of two values with respect to the specified comparison function.
Returns the second argument if the comparison determines them to be equal.