Function find_duplicates

Source
pub fn find_duplicates<T>(items: &[T]) -> Vec<T>
where T: Hash + Eq + Clone,