From: Joe Mooring Date: Mon, 30 Jan 2023 16:36:44 +0000 (-0800) Subject: Fix description of collections.Uniq X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=4ccc8cfb4;p=brevno-suite%2Fhugo Fix description of collections.Uniq --- diff --git a/tpl/collections/collections.go b/tpl/collections/collections.go index 687669a70..994d5f1b4 100644 --- a/tpl/collections/collections.go +++ b/tpl/collections/collections.go @@ -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