]> Cypherpunks.ru repositories - gostls13.git/commitdiff
text/template: fix lint typo in VariableNode doc
authorMacks <macksme@outlook.com>
Tue, 23 Jun 2020 00:09:26 +0000 (00:09 +0000)
committerRob Pike <r@golang.org>
Tue, 23 Jun 2020 00:10:24 +0000 (00:10 +0000)
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>
src/text/template/parse/node.go

index 1c116ea6fab3dbf594306b9846dbf97f74715243..dddc7752a2e1b04c6ef856c5ca0bb3f462b9bb8e 100644 (file)
@@ -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