aboutsummaryrefslogtreecommitdiff
path: root/src/text/template/parse/node.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/text/template/parse/node.go')
-rw-r--r--src/text/template/parse/node.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text/template/parse/node.go b/src/text/template/parse/node.go
index 1c116ea6fa..dddc7752a2 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