]> Cypherpunks repositories - gostls13.git/commitdiff
all: fix typos in comments
authorguoguangwu <guoguangwug@gmail.com>
Thu, 25 Apr 2024 08:42:27 +0000 (08:42 +0000)
committerGopher Robot <gobot@golang.org>
Thu, 25 Apr 2024 17:41:54 +0000 (17:41 +0000)
Change-Id: Ib2e77cff4c10f66316295cbd67f52606cbf9972b
GitHub-Last-Rev: 088c033b2d5b743ca7739300ad3e9fdf69846669
GitHub-Pull-Request: golang/go#67032
Reviewed-on: https://go-review.googlesource.com/c/go/+/581675
Auto-Submit: Keith Randall <khr@golang.org>
Commit-Queue: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/liveness/mergelocals.go
src/cmd/compile/internal/types2/api.go
src/unique/handle.go

index 1e65d6c1d17ab377041226d9a31bd252c9b168dc..017c4d1dbbb7e3675df0ec97d61354bd770526d0 100644 (file)
@@ -448,7 +448,7 @@ func (cs *cstate) setupHashBisection(cands []*ir.Name) {
 //
 // It is possible to have situations where a given ir.Name is
 // non-address-taken at the source level, but whose address is
-// materialized in order to accomodate the needs of
+// materialized in order to accommodate the needs of
 // architecture-dependent operations or one sort or another (examples
 // include things like LoweredZero/DuffZero, etc). The issue here is
 // that the SymAddr op will show up as touching a variable of
index 029d105e2e2b0fcf5e8357efc9f50a0ed770709c..f3931dd2628c2d5c601d959697705046ab5ad03d 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// Package types declares the data types and implements
+// Package types2 declares the data types and implements
 // the algorithms for type-checking of Go packages. Use
 // Config.Check to invoke the type checker for a package.
 // Alternatively, create a new type checker with NewChecker
index d98f8022d7fb21e428e6d3501b523184a3690c67..4d9669162f8b761c45476f0c0bc07c2a4828c005 100644 (file)
@@ -102,7 +102,7 @@ var (
        cleanupMu      sync.Mutex
        cleanupFuncsMu sync.Mutex
        cleanupFuncs   []func()
-       cleanupNotify  []func() // One-time notifcations when cleanups finish.
+       cleanupNotify  []func() // One-time notifications when cleanups finish.
 )
 
 type uniqueMap[T comparable] struct {