From: Robert Griesemer Date: Mon, 16 Nov 2009 01:42:27 +0000 (-0800) Subject: Use ElementType consistently. X-Git-Tag: weekly.2009-11-17~41 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=0660d243b1cbd5716e23a6495f3637dfee2cb4f9;p=gostls13.git Use ElementType consistently. Fixes #173. R=r, rsc, r1 https://golang.org/cl/154156 --- diff --git a/doc/go_spec.html b/doc/go_spec.html index c533f0af76..cba73ce836 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -966,7 +966,7 @@ type File interface {

A map is an unordered group of elements of one type, called the -value type, indexed by a set of unique keys of another type, +element type, indexed by a set of unique keys of another type, called the key type. A map value may be nil. @@ -975,7 +975,6 @@ A map value may be nil.

 MapType     = "map" "[" KeyType "]" ElementType .
 KeyType     = Type .
-ValueType   = Type .
 

@@ -1030,9 +1029,9 @@ A value of channel type may be nil.

 ChannelType   = Channel | SendChannel | RecvChannel .
-Channel       = "chan" ValueType .
-SendChannel   = "chan" "<-" ValueType .
-RecvChannel   = "<-" "chan" ValueType .
+Channel       = "chan" ElementType .
+SendChannel   = "chan" "<-" ElementType .
+RecvChannel   = "<-" "chan" ElementType .