mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-01 22:42:45 +02:00
all: Run modernize -fix ./...
This commit is contained in:
@@ -74,7 +74,7 @@ func collectIdentities(seqs ...any) (map[any]bool, error) {
|
||||
v := reflect.ValueOf(seq)
|
||||
switch v.Kind() {
|
||||
case reflect.Array, reflect.Slice:
|
||||
for i := 0; i < v.Len(); i++ {
|
||||
for i := range v.Len() {
|
||||
ev, _ := indirectInterface(v.Index(i))
|
||||
|
||||
if !ev.Type().Comparable() {
|
||||
|
Reference in New Issue
Block a user