]> Cypherpunks.ru repositories - gostls13.git/commit
spec: retitle section on "Assignments" to "Assignment statements"
authorRobert Griesemer <gri@golang.org>
Wed, 22 Jun 2022 18:58:06 +0000 (11:58 -0700)
committerRobert Griesemer <gri@golang.org>
Thu, 30 Jun 2022 00:58:41 +0000 (00:58 +0000)
commit17083a2fdf4475c3f11a3e6a0ef8cb595a5fc4d6
tree9341ff3c343f0ba148151402c98042be1d73dff9
parent4d95fe6653b531b549b68f83c85d5a66468a44cf
spec: retitle section on "Assignments" to "Assignment statements"

This permits a clear distinction between an individual assignment
and an assignment statement which may assign more than one value.
It also makes this section title consistent with all other section
titles about statements. Adjust internal links and prose where
appropriate. (Note that the spec already referred to assignment
statements in a couple of places, even before this change.)

Add an introductory paragraph to the section on assignment statements.

Preparation for adding a section on value vs reference types
(issue #5083).

Change-Id: Ie140ac296e653c67da2a5a203b63352b3dc4f9f5
Reviewed-on: https://go-review.googlesource.com/c/go/+/413615
Reviewed-by: Robert Griesemer <gri@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
doc/go_spec.html