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
|
|
@ -759,7 +759,7 @@ func walkIndex(n *ir.IndexExpr, init *ir.Nodes) ir.Node {
|
|||
|
||||
// mapKeyArg returns an expression for key that is suitable to be passed
|
||||
// as the key argument for runtime map* functions.
|
||||
// n is is the map indexing or delete Node (to provide Pos).
|
||||
// n is the map indexing or delete Node (to provide Pos).
|
||||
func mapKeyArg(fast int, n, key ir.Node, assigned bool) ir.Node {
|
||||
if fast == mapslow {
|
||||
// standard version takes key by reference.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue