From 8a8445ba71b18f9a4dcdd7e50a6e821afcbfe2ed Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Fri, 2 Dec 2011 13:11:30 -0500 Subject: [PATCH] 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/go_spec.html b/doc/go_spec.html index 6c250785ea..00cb962872 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -2440,7 +2440,7 @@ Assigning to an element of a nil map causes a

Slices

-For a string, array, or slice a, the primary expression +For a string, array, pointer to array, or slice a, the primary expression

-- 
2.50.0