Skip to main content

unique

Function unique 

Source
pub fn unique<T>(iter: impl Iterator<Item = T>) -> Option<T>
Expand description

The only element of iter, or None when it has zero or several.