Function partial_sort::partial_sort

source ยท
pub fn partial_sort<T, F>(v: &mut [T], last: usize, is_less: F)
where F: FnMut(&T, &T) -> bool,