Function find_first_duplicate

Source
pub fn find_first_duplicate<T: PartialEq + Copy>(items: &[T]) -> Option<T>