diff --git a/src/text/template/parse/node.go b/src/text/template/parse/node.go index 1c116ea6fab..dddc7752a2e 100644 --- a/src/text/template/parse/node.go +++ b/src/text/template/parse/node.go @@ -349,7 +349,7 @@ func (i *IdentifierNode) Copy() Node { return NewIdentifier(i.Ident).SetTree(i.tr).SetPos(i.Pos) } -// AssignNode holds a list of variable names, possibly with chained field +// VariableNode holds a list of variable names, possibly with chained field // accesses. The dollar sign is part of the (first) name. type VariableNode struct { NodeType