From 36714250f6c8571ed2c459d59f271169bbaacd88 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Thu, 24 Sep 2026 19:22:43 +0200 Subject: [PATCH] Say an arm's key is what template.head resolves --- template.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/template.go b/template.go index 7ec28be..257edda 100644 --- a/template.go +++ b/template.go @@ -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 {