rustc_data_structures::unord

Function to_sorted_vec

Source
fn to_sorted_vec<HCX, T, K, I>(
    hcx: &HCX,
    iter: I,
    cache_sort_key: bool,
    extract_key: fn(_: &T) -> &K,
) -> Vec<T>
where I: Iterator<Item = T>, K: ToStableHashKey<HCX>,