Function geng::prelude::min_max

pub fn min_max<T>(a: T, b: T) -> (T, T)
where T: Ord,
Expand description

Compares arguments and returns (min, max)