Delete comments restating their code, and doc.go's partial list of draw fences

This commit is contained in:
2026-09-30 21:57:52 +02:00
committed by Lillem4n
parent a24f52a1f0
commit a9448d1a99
10 changed files with 6 additions and 29 deletions
+1 -3
View File
@@ -193,9 +193,7 @@ func repeatCheck(path string, n node, mem renderCounts) error {
// checkNoCycles rejects a reference cycle: a node whose rendering can reach itself
// — directly, mutually, or through a chain — never terminates, so it must fail at
// New rather than stack-overflow at render. It is a depth-first walk of the render
// graph (renderEdges); grey marks nodes on the current path so a back-edge to one
// is the cycle, while black lets a shared node (a DAG, not a cycle) be skipped.
// Every node is a root: a field its parent's format never renders is still reachable
// graph (renderEdges). Every node is a root: a field its parent's format never renders is still reachable
// by dot path, so a cycle in one would otherwise reach render and be fatal there.
func checkNoCycles(root map[string]node) error {
const (