mirror of https://github.com/golang/go.git
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.
This commit is contained in:
parent
6fb7bdc96d
commit
1c4c9390a1
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue