Fix description of collections.Uniq

This commit is contained in:
Joe Mooring 2023-01-30 08:36:44 -08:00 committed by Bjørn Erik Pedersen
parent e2cfc3d5a2
commit 4ccc8cfb4c

View file

@ -733,8 +733,7 @@ func (ns *Namespace) Union(l1, l2 any) (any, error) {
}
}
// Uniq takes returns a new list with all duplicate elements in the list l removed.
// duplicate elements removed.
// Uniq returns a new list with duplicate elements in the list l removed.
func (ns *Namespace) Uniq(l any) (any, error) {
if l == nil {
return make([]any, 0), nil