Function has_repeated_element

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