]> Cypherpunks repositories - gostls13.git/commit
spec: minor adjustment of prose in composite literal section
authorRobert Griesemer <gri@golang.org>
Wed, 23 Sep 2015 00:47:38 +0000 (17:47 -0700)
committerRobert Griesemer <gri@golang.org>
Wed, 23 Sep 2015 21:26:10 +0000 (21:26 +0000)
commitc720875b76d1a003cdcde38687ae537dda6a59fa
treea52f5920ea9de0500b7eefd23e2ede7c0e05affd
parentc0486b129390e044e771d414d1405ba674d9f2d1
spec: minor adjustment of prose in composite literal section

The prose discussing composite literals referred to the composite
literal type with 'LiteralType', denoting the literal type's EBNF
production explicitly. Changed 'LiteralType' to 'literal type' to
remove the literal (no pun intended) connection and instead mean
the underlying type. Seems a simpler and more readable change
than referring to the underlying type everywhere explicitly.

Fixes #12717.

Change-Id: I225df95f9ece2664b19068525ea8bda5ca05a44a
Reviewed-on: https://go-review.googlesource.com/14851
Reviewed-by: Rob Pike <r@golang.org>
doc/go_spec.html