aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/collections
diff options
context:
space:
mode:
authorChristian Oliff <[email protected]>2024-02-11 20:51:33 +0900
committerGitHub <[email protected]>2024-02-11 13:51:33 +0200
commit0672b5c76605132475ff18b8c526f1cf0d6affc3 (patch)
tree2af2eb9d8eb1458ed6c39b58328c7d21d0c522d2 /tpl/collections
parente309f82efe1885aa5b8030be48c36ba4432ddd7b (diff)
downloadhugo-0672b5c76605132475ff18b8c526f1cf0d6affc3.tar.gz
hugo-0672b5c76605132475ff18b8c526f1cf0d6affc3.zip
all: Fix typos
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")