File tree 1 file changed +4
-5
lines changed 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -966,7 +966,7 @@ <h3 id="Map_types">Map types</h3>
966
966
967
967
< p >
968
968
A map is an unordered group of elements of one type, called the
969
- value type, indexed by a set of unique < i > keys</ i > of another type,
969
+ element type, indexed by a set of unique < i > keys</ i > of another type,
970
970
called the key type.
971
971
A map value may be < code > nil</ code > .
972
972
@@ -975,7 +975,6 @@ <h3 id="Map_types">Map types</h3>
975
975
< pre class ="ebnf ">
976
976
MapType = "map" "[" KeyType "]" ElementType .
977
977
KeyType = Type .
978
- ValueType = Type .
979
978
</ pre >
980
979
981
980
< p >
@@ -1030,9 +1029,9 @@ <h3 id="Channel_types">Channel types</h3>
1030
1029
1031
1030
< pre class ="ebnf ">
1032
1031
ChannelType = Channel | SendChannel | RecvChannel .
1033
- Channel = "chan" ValueType .
1034
- SendChannel = "chan" "<-" ValueType .
1035
- RecvChannel = "<-" "chan" ValueType .
1032
+ Channel = "chan" ElementType .
1033
+ SendChannel = "chan" "<-" ElementType .
1034
+ RecvChannel = "<-" "chan" ElementType .
1036
1035
</ pre >
1037
1036
1038
1037
< p >
You can’t perform that action at this time.
0 commit comments