Say an arm's key is what template.head resolves

This commit is contained in:
2026-09-24 19:22:43 +02:00
committed by Lillem4n
parent 5aae86638b
commit 36714250f6
+2 -2
View File
@@ -268,8 +268,8 @@ func fieldTokens(format string) []string {
}
// arm is one alternative of a {a|b} token or one operand, split into the key
// naming the node in a template's fields (a sibling field, or the head a
// reference is bound under) and the tail of a dotted path into it. A non-empty
// `template.head` resolves (a sibling field, or the head a reference is bound
// under) and the tail of a dotted path into it. A non-empty
// tail is what makes the arm a bound draw: its head is drawn once per expansion
// (see compileOps).
type arm struct {