all: fix typos in comments 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>
diff --git a/src/cmd/compile/internal/liveness/mergelocals.go b/src/cmd/compile/internal/liveness/mergelocals.go index 1e65d6c..017c4d1 100644 --- a/src/cmd/compile/internal/liveness/mergelocals.go +++ b/src/cmd/compile/internal/liveness/mergelocals.go
@@ -448,7 +448,7 @@ // // 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
diff --git a/src/cmd/compile/internal/types2/api.go b/src/cmd/compile/internal/types2/api.go index 029d105..f3931dd 100644 --- a/src/cmd/compile/internal/types2/api.go +++ b/src/cmd/compile/internal/types2/api.go
@@ -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
diff --git a/src/unique/handle.go b/src/unique/handle.go index d98f802..4d96691 100644 --- a/src/unique/handle.go +++ b/src/unique/handle.go
@@ -102,7 +102,7 @@ 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 {