1
0
mirror of https://github.com/golang/go synced 2024-11-18 05:54:49 -07:00

text/template: fix lint typo in VariableNode doc

Change-Id: I68b8c782478aa3e7adbd36a2de1c20b04e8c395b
GitHub-Last-Rev: 50f2719783
GitHub-Pull-Request: golang/go#39622
Reviewed-on: https://go-review.googlesource.com/c/go/+/239383
Reviewed-by: Rob Pike <r@golang.org>
This commit is contained in:
Macks 2020-06-23 00:09:26 +00:00 committed by Rob Pike
parent b486bd8967
commit 968e18eebd

View 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