From e8f99da8ed6180732ace00f8fc6b17f636515bc4 Mon Sep 17 00:00:00 2001 From: nicksherron Date: Wed, 13 Oct 2021 01:39:13 +0000 Subject: [PATCH] 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 Reviewed-by: Ian Lance Taylor Run-TryBot: Ian Lance Taylor TryBot-Result: Go Bot --- src/cmd/compile/internal/noder/irgen.go | 2 +- src/internal/fuzz/sys_posix.go | 2 +- src/internal/fuzz/sys_windows.go | 2 +- 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