mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
all: fix a lot of comments
Fix comments, including duplicate is, wrong phrases and articles, misspellings, etc. Change-Id: I8bfea53b9b275e649757cc4bee6a8a026ed9c7a4 Reviewed-on: https://go-review.googlesource.com/c/go/+/493035 Reviewed-by: Benny Siegert <bsiegert@gmail.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Run-TryBot: shuang cui <imcusg@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com>
This commit is contained in:
parent
dc0179bfa8
commit
57e3189821
20 changed files with 26 additions and 26 deletions
|
|
@ -443,7 +443,7 @@ func ForCapture(fn *ir.Func) []VarAndLoop {
|
|||
return transformed
|
||||
}
|
||||
|
||||
// forAllDefInInitUpdate applies "do" to all the defining assignemnts in the Init clause of a ForStmt.
|
||||
// forAllDefInInitUpdate applies "do" to all the defining assignments in the Init clause of a ForStmt.
|
||||
// This abstracts away some of the boilerplate from the already complex and verbose for-3-clause case.
|
||||
func forAllDefInInitUpdate(x *ir.ForStmt, do func(z ir.Node, update *ir.Node)) {
|
||||
for _, s := range x.Init() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue