pub fn unique<T>(vec: &[T]) -> Vec<T>where T: Copy + Eq + Hash + Debug,
Get unique elements from a slice of any hashable, equatable numeric type.
vec
The unique elements of vec as a Vec.