aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authornicksherron <nsherron90@gmail.com>2021-10-13 01:39:13 +0000
committerIan Lance Taylor <iant@golang.org>2021-10-13 04:00:15 +0000
commite8f99da8ed6180732ace00f8fc6b17f636515bc4 (patch)
treeb73cbcfb126d827cb30c0c6bbd37c1383a0f6cc2 /src
parent4fb2e1cb86a1f15a69ebf97a80503e865287642c (diff)
downloadgo-e8f99da8ed6180732ace00f8fc6b17f636515bc4.tar.xz
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: a471e3d123aa6c8bb9b091e65de5d16609fb8db1 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>
Diffstat (limited to 'src')
-rw-r--r--src/cmd/compile/internal/noder/irgen.go2
-rw-r--r--src/internal/fuzz/sys_posix.go2
-rw-r--r--src/internal/fuzz/sys_windows.go2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/compile/internal/noder/irgen.go b/src/cmd/compile/internal/noder/irgen.go
index 645ac2c214..e912f797b2 100644
--- a/src/cmd/compile/internal/noder/irgen.go
+++ b/src/cmd/compile/internal/noder/irgen.go
@@ -115,7 +115,7 @@ type dictInfo struct {
itabConvs []ir.Node
// 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
// For type switches on nonempty interfaces, a map from OTYPE entries of
diff --git a/src/internal/fuzz/sys_posix.go b/src/internal/fuzz/sys_posix.go
index 2473274ecf..ca6b1456e2 100644
--- a/src/internal/fuzz/sys_posix.go
+++ b/src/internal/fuzz/sys_posix.go
@@ -48,7 +48,7 @@ func (m *sharedMem) Close() error {
return nil
}
-// setWorkerComm configures communciation channels on the cmd that will
+// setWorkerComm configures communication channels on the cmd that will
// run a worker process.
func setWorkerComm(cmd *exec.Cmd, comm workerComm) {
mem := <-comm.memMu
diff --git a/src/internal/fuzz/sys_windows.go b/src/internal/fuzz/sys_windows.go
index fabf954ba7..9c006b010e 100644
--- a/src/internal/fuzz/sys_windows.go
+++ b/src/internal/fuzz/sys_windows.go
@@ -86,7 +86,7 @@ func (m *sharedMem) Close() error {
return nil
}
-// setWorkerComm configures communciation channels on the cmd that will
+// setWorkerComm configures communication channels on the cmd that will
// run a worker process.
func setWorkerComm(cmd *exec.Cmd, comm workerComm) {
mem := <-comm.memMu