From 4ccc8cfb4ccfc0d4d081a81521b288767628c8d5 Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Mon, 30 Jan 2023 08:36:44 -0800 Subject: [PATCH] Fix description of collections.Uniq --- tpl/collections/collections.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tpl/collections/collections.go b/tpl/collections/collections.go index 687669a7027..994d5f1b430 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