Function itertools::kmerge_impl::heapify

source ·
fn heapify<T, S>(data: &mut [T], less_than: S)where
    S: FnMut(&T, &T) -> bool,
Expand description

Make data a heap (min-heap w.r.t the sorting).