]> Cypherpunks repositories - gostls13.git/commit
spec: pointer to array can be sliced
authorRuss Cox <rsc@golang.org>
Fri, 2 Dec 2011 18:11:30 +0000 (13:11 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 2 Dec 2011 18:11:30 +0000 (13:11 -0500)
commit8a8445ba71b18f9a4dcdd7e50a6e821afcbfe2ed
tree53b912a9217fcdb5cf5112d54f7d9b53484e6d17
parent7d15eda95dd24ef0998631b6ac289fa79f053521
spec: pointer to array can be sliced

This has always been true, but we lost it from the spec
somewhere along the way, probably when we disallowed
the general 'pointer to anything sliceable' slice case.

R=gri
CC=golang-dev
https://golang.org/cl/5437121
doc/go_spec.html