Function vec_collections::sort_dedup[][src]

pub fn sort_dedup<I: Iterator, R: Seq<I::Item>>(iter: I, keep: Keep) -> R where
    I::Item: Ord
Expand description

Sort and dedup an interator I into a collection R.

keep determines whether to keep the first or the last occurrence in case of duplicates