aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/collections
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/collections')
-rw-r--r--tpl/collections/collections.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/collections/collections.go b/tpl/collections/collections.go
index 61fd138e9..2107cf5a0 100644
--- a/tpl/collections/collections.go
+++ b/tpl/collections/collections.go
@@ -572,7 +572,7 @@ func (ns *Namespace) Seq(args ...any) ([]int, error) {
return seq, nil
}
-// Shuffle returns list l in a randomised order.
+// Shuffle returns list l in a randomized order.
func (ns *Namespace) Shuffle(l any) (any, error) {
if l == nil {
return nil, errors.New("both count and seq must be provided")