From 968e18eebd736870a1e3bf06d941dc06e7b20688 Mon Sep 17 00:00:00 2001 From: Macks Date: Tue, 23 Jun 2020 00:09:26 +0000 Subject: [PATCH] text/template: fix lint typo in VariableNode doc Change-Id: I68b8c782478aa3e7adbd36a2de1c20b04e8c395b GitHub-Last-Rev: 50f27197837e57e1d68b8905eaa66ea142bd45fc GitHub-Pull-Request: golang/go#39622 Reviewed-on: https://go-review.googlesource.com/c/go/+/239383 Reviewed-by: Rob Pike --- src/text/template/parse/node.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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