aboutsummaryrefslogtreecommitdiff
path: root/src/text
diff options
context:
space:
mode:
authorMacks <macksme@outlook.com>2020-06-23 00:09:26 +0000
committerRob Pike <r@golang.org>2020-06-23 00:10:24 +0000
commit968e18eebd736870a1e3bf06d941dc06e7b20688 (patch)
tree0394927f8c5c699d5f7407e41f20b736c930fbd6 /src/text
parentb486bd896720cd5a40bc39771a8dbe332fce7ffe (diff)
downloadgo-968e18eebd736870a1e3bf06d941dc06e7b20688.tar.gz
go-968e18eebd736870a1e3bf06d941dc06e7b20688.zip
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 <r@golang.org>
Diffstat (limited to 'src/text')
-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