From 29f1908e5a9bc6fdf8549c767143b3235fc97be2 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Fri, 25 Sep 2026 09:04:36 +0200 Subject: [PATCH] Drop the comments restating readsOnEdge and walksInto --- drawfence.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drawfence.go b/drawfence.go index 400b925..3d5a400 100644 --- a/drawfence.go +++ b/drawfence.go @@ -131,15 +131,11 @@ func (c *drawCheck) reads(n node, stopAtGroup bool) bool { return r } -// readsOnEdge reports whether an edge of n is itself a reference path: a reference with a tail, or -// one naming a table. func readsOnEdge(n node, label string) bool { a, isRef := refRead(n, label) return isRef && (len(a.tail) > 0 || readsTable(n, a)) } -// walksInto reports whether reads walks on into to, which it does short of a repeat, and of a draw -// group when stopAtGroup. func walksInto(to node, stopAtGroup bool) bool { return !repeats(to) && !(stopAtGroup && grouped(to)) }