From: guoguangwu Date: Thu, 25 Apr 2024 08:42:27 +0000 (+0000) Subject: all: fix typos in comments X-Git-Tag: go1.23rc1~525 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=a4031ea1f5e0c40717c6f9d608e51ff3cef1a6eb;p=gostls13.git 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 Commit-Queue: Ian Lance Taylor LUCI-TryBot-Result: Go LUCI Reviewed-by: Ian Lance Taylor Auto-Submit: Ian Lance Taylor Reviewed-by: Keith Randall Reviewed-by: Keith Randall --- diff --git a/src/cmd/compile/internal/liveness/mergelocals.go b/src/cmd/compile/internal/liveness/mergelocals.go index 1e65d6c1d1..017c4d1dbb 100644 --- a/src/cmd/compile/internal/liveness/mergelocals.go +++ b/src/cmd/compile/internal/liveness/mergelocals.go @@ -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 diff --git a/src/cmd/compile/internal/types2/api.go b/src/cmd/compile/internal/types2/api.go index 029d105e2e..f3931dd262 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 d98f8022d7..4d9669162f 100644 --- a/src/unique/handle.go +++ b/src/unique/handle.go @@ -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 {