Correct and trim the comments around the path walks

This commit is contained in:
2026-09-28 00:43:20 +02:00
committed by Lillem4n
parent 79cacb2823
commit e9bb89f044
8 changed files with 23 additions and 32 deletions
+2 -2
View File
@@ -97,8 +97,8 @@ func operandReader(t *template, head string) string {
return ""
}
// coverPath collects what holding one path pins: every choice level the path
// passes through, whole, and the leaf it renders.
// coverPath collects what holding one path pins: the first choice level it passes,
// whole, else the leaf it renders; it reads no row.
func coverPath(n node, tail []string, into map[node]bool) {
_, _ = (&pathCover{into: into}).walk(n, tail)
}