mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
all: fix typos in go file comments
This is the second round to look for spelling mistakes. This time the
manual sifting of the result list was made easier by filtering out
capitalized and camelcase words.
grep -r --include '*.go' -E '^// .*$' . | aspell list | grep -E -x '[A-Za-z]{1}[a-z]*' | sort | uniq
This PR will be imported into Gerrit with the title and first
comment (this text) used to generate the subject and body of
the Gerrit change.
Change-Id: Ie8a2092aaa7e1f051aa90f03dbaf2b9aaf5664a9
GitHub-Last-Rev: fc2bd6e0c5
GitHub-Pull-Request: golang/go#57737
Reviewed-on: https://go-review.googlesource.com/c/go/+/461595
Auto-Submit: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
This commit is contained in:
parent
f52b8fa83f
commit
b419db6c15
22 changed files with 26 additions and 26 deletions
|
|
@ -386,7 +386,7 @@ func NameClosure(clo *ClosureExpr, outerfn *Func) {
|
|||
MarkFunc(name)
|
||||
}
|
||||
|
||||
// UseClosure checks that the ginen function literal has been setup
|
||||
// UseClosure checks that the given function literal has been setup
|
||||
// correctly, and then returns it as an expression.
|
||||
// It must be called after clo.Func.ClosureVars has been set.
|
||||
func UseClosure(clo *ClosureExpr, pkg *Package) Node {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue