mirror of
https://github.com/golang/go
synced 2024-09-30 04:34:33 -06:00
all: fix spelling mistakes
Corrections were only made to comments and can be reproduced with the
following sed.
sed -i 's/communciation/communication/g' src/internal/fuzz/sys_windows.go
sed -i 's/communciation/communication/g' src/internal/fuzz/sys_posix.go
sed -i 's/substitued/substituted/g' src/cmd/compile/internal/noder/irgen.go
Change-Id: I435aee2fdb41e73b694e6233d52742559d32cf7e
GitHub-Last-Rev: a471e3d123
GitHub-Pull-Request: golang/go#48932
Reviewed-on: https://go-review.googlesource.com/c/go/+/355494
Reviewed-by: Robert Griesemer <gri@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
This commit is contained in:
parent
4fb2e1cb86
commit
e8f99da8ed
@ -115,7 +115,7 @@ type dictInfo struct {
|
|||||||
itabConvs []ir.Node
|
itabConvs []ir.Node
|
||||||
|
|
||||||
// Mapping from each shape type that substitutes a type param, to its
|
// Mapping from each shape type that substitutes a type param, to its
|
||||||
// type bound (which is also substitued with shapes if it is parameterized)
|
// type bound (which is also substituted with shapes if it is parameterized)
|
||||||
shapeToBound map[*types.Type]*types.Type
|
shapeToBound map[*types.Type]*types.Type
|
||||||
|
|
||||||
// For type switches on nonempty interfaces, a map from OTYPE entries of
|
// For type switches on nonempty interfaces, a map from OTYPE entries of
|
||||||
|
@ -48,7 +48,7 @@ func (m *sharedMem) Close() error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// setWorkerComm configures communciation channels on the cmd that will
|
// setWorkerComm configures communication channels on the cmd that will
|
||||||
// run a worker process.
|
// run a worker process.
|
||||||
func setWorkerComm(cmd *exec.Cmd, comm workerComm) {
|
func setWorkerComm(cmd *exec.Cmd, comm workerComm) {
|
||||||
mem := <-comm.memMu
|
mem := <-comm.memMu
|
||||||
|
@ -86,7 +86,7 @@ func (m *sharedMem) Close() error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// setWorkerComm configures communciation channels on the cmd that will
|
// setWorkerComm configures communication channels on the cmd that will
|
||||||
// run a worker process.
|
// run a worker process.
|
||||||
func setWorkerComm(cmd *exec.Cmd, comm workerComm) {
|
func setWorkerComm(cmd *exec.Cmd, comm workerComm) {
|
||||||
mem := <-comm.memMu
|
mem := <-comm.memMu
|
||||||
|
Loading…
Reference in New Issue
Block a user