Delete the reported-order clauses and checkRecordDraws' record-only comment

This commit is contained in:
2026-09-29 15:43:46 +02:00
committed by Lillem4n
parent 789c47d0ee
commit 9b050994f5
6 changed files with 6 additions and 15 deletions
+1 -2
View File
@@ -6,8 +6,7 @@ import (
)
// walkNodes calls fn once per contained node, passing the dot path that reaches it,
// visiting keys in sorted order so which of several broken nodes gets reported does
// not depend on map iteration.
// visiting keys in sorted order.
func walkNodes(root map[string]node, fn func(path string, n node) error) error {
for _, name := range sortedNames(root) {
if err := eachNode(root[name], name, fn); err != nil {