Name the table lookup the Generator doc's fixed tree excepts, and drop the renders restatement

This commit is contained in:
2026-09-29 04:37:19 +02:00
committed by Lillem4n
parent c422c9e436
commit 16604de74c
2 changed files with 4 additions and 4 deletions
+1 -2
View File
@@ -152,8 +152,7 @@ func isFixed(n node) bool {
}
// renders reports whether rendering n can reach anything in want, following the
// same edges expand does. seen keeps a node from being walked twice, so the walk
// ends across a cycle too.
// same edges expand does.
func renders(n node, want, seen map[node]bool) bool {
if want[n] {
return true