pub fn min_by<T, F>(v1: T, v2: T, compare: F) -> T
Expand description
Returns the minimum of two values with respect to the specified comparison function.
Returns the first argument if the comparison determines them to be equal.
pub fn min_by<T, F>(v1: T, v2: T, compare: F) -> T
Returns the minimum of two values with respect to the specified comparison function.
Returns the first argument if the comparison determines them to be equal.