Function has_unique_items

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