Function ru_history::sort::top_n[][src]

pub fn top_n<T, F: Fn(&T, &T) -> Ordering>(v: &mut [T], n: usize, f: &F)