]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go_mem: fix grammar issue
authorJulien Cretel <jub0bsinthecloud@gmail.com>
Sun, 16 Mar 2025 13:55:23 +0000 (13:55 +0000)
committerGopher Robot <gobot@golang.org>
Sun, 16 Mar 2025 22:46:25 +0000 (15:46 -0700)
In the passage about buffered channels, remove redundant words and match
the wording of the earlier passage about unbuffered channels.

Change-Id: I35d8a3bf4f176c3f69cf5e6a64595e5d1c23e3a1
GitHub-Last-Rev: 1c4c9390a174d1a66797a025e2fdb0bf56239f48
GitHub-Pull-Request: golang/go#72891
Reviewed-on: https://go-review.googlesource.com/c/go/+/657778
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Keith Randall <khr@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
Auto-Submit: Keith Randall <khr@golang.org>

doc/go_mem.html

index 633d35cd07a088f0aacea3b9d098bca6eb21d408..7adc34828a739ae9d27e1b344c4a3bf64aaea919 100644 (file)
@@ -453,7 +453,7 @@ crash, or do something else.)
 </p>
 
 <p class="rule">
-The <i>k</i>th receive on a channel with capacity <i>C</i> is synchronized before the completion of the <i>k</i>+<i>C</i>th send from that channel completes.
+The <i>k</i>th receive from a channel with capacity <i>C</i> is synchronized before the completion of the <i>k</i>+<i>C</i>th send on that channel.
 </p>
 
 <p>