]> Cypherpunks repositories - gostls13.git/commit
spec: consistently use "element" rather than "value" for map entry values
authorRobert Griesemer <gri@golang.org>
Wed, 3 Jan 2018 18:33:11 +0000 (10:33 -0800)
committerRobert Griesemer <gri@golang.org>
Thu, 4 Jan 2018 20:17:19 +0000 (20:17 +0000)
commit4de1d1d5cde4424d9361be516e4db4d7e76dd1f3
tree0714c6df714a5b8d420436f54901f61615a57ffe
parent3f150934e274f9ce167e1ed565fb3e60b8ea8223
spec: consistently use "element" rather than "value" for map entry values

The spec refers to a map's key and element types; thus the respective
values are "keys" and "elements". Also, a map value is the value of
the entire map.

Similar fix for channels, where appropriate.

Fixes #23254.

Change-Id: I6f03ea6d86586c7b0b3e84f0c2e9446b8109fa53
Reviewed-on: https://go-review.googlesource.com/85999
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Russ Cox <rsc@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
doc/go_spec.html