Function has_repeated_element

Source
fn has_repeated_element(slice: &[usize]) -> bool