1
0
mirror of https://github.com/golang/go synced 2024-11-11 22:40:22 -07:00

clarify rule for channel send

R=rsc
CC=go-dev
http://go/go-review/1018002
This commit is contained in:
Robert Griesemer 2009-10-28 18:17:24 -07:00
parent eb63c3fec4
commit b691e08e2c

View File

@ -2528,8 +2528,9 @@ For operations involving constants only, see the section on
</p>
<p>
In a channel send, the first operand is always a channel and the
second is a value of the channel's element type.
In a channel send, the first operand is always a channel and the second
must be a value <a href="#Assignment_compatibility">assignment compatible</a>
with the channel's element type.
</p>
<p>