most_frequent_or_any

Function most_frequent_or_any 

Source
pub fn most_frequent_or_any<T: Eq + Clone>(items: &[T]) -> Option<T>
Expand description

Return the most frequent element in vec or just any item.