From: Macks Date: Tue, 23 Jun 2020 00:09:26 +0000 (+0000) Subject: text/template: fix lint typo in VariableNode doc X-Git-Tag: go1.15rc1~74 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=968e18eebd736870a1e3bf06d941dc06e7b20688;p=gostls13.git 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 --- 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