Function itertools::duplicates_impl::duplicates

source ยท
pub fn duplicates<I>(iter: I) -> Duplicates<I>
where I: Iterator, I::Item: Eq + Hash,
Expand description

Create a new Duplicates iterator.