diff options
Diffstat (limited to 'tpl/collections/complement.go')
-rw-r--r-- | tpl/collections/complement.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/collections/complement.go b/tpl/collections/complement.go index 4dc5e3bf2..723f73b0a 100644 --- a/tpl/collections/complement.go +++ b/tpl/collections/complement.go @@ -25,7 +25,7 @@ import ( // // The reasoning behind this rather clumsy API is so we can do this in the templates: // {{ $c := .Pages | complement $last4 }} -func (ns *Namespace) Complement(seqs ...interface{}) (interface{}, error) { +func (ns *Namespace) Complement(seqs ...any) (any, error) { if len(seqs) < 2 { return nil, errors.New("complement needs at least two arguments") } |