From 38d146d57229a8e432d7570a0391f07b8cbf9393 Mon Sep 17 00:00:00 2001 From: Julien Cretel Date: Sun, 16 Mar 2025 13:55:23 +0000 Subject: [PATCH] doc/go_mem: fix grammar issue 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 Reviewed-by: Keith Randall LUCI-TryBot-Result: Go LUCI Auto-Submit: Ian Lance Taylor Reviewed-by: Keith Randall Auto-Submit: Keith Randall --- doc/go_mem.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/go_mem.html b/doc/go_mem.html index 633d35cd07..7adc34828a 100644 --- a/doc/go_mem.html +++ b/doc/go_mem.html @@ -453,7 +453,7 @@ crash, or do something else.)

-The kth receive on a channel with capacity C is synchronized before the completion of the k+Cth send from that channel completes. +The kth receive from a channel with capacity C is synchronized before the completion of the k+Cth send on that channel.