]> Cypherpunks repositories - gostls13.git/commitdiff
spec: strings are more slices than arrays
authorRob Pike <r@golang.org>
Mon, 13 Feb 2012 12:39:56 +0000 (23:39 +1100)
committerRob Pike <r@golang.org>
Mon, 13 Feb 2012 12:39:56 +0000 (23:39 +1100)
Thanks to Aaron Kemp for noticing.

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/5645097

doc/go_spec.html

index fb96db7d3ee9bea950457996983635811218d5f6..27c37c2ce16ad0634272259dc59d752a5a25fb07 100644 (file)
@@ -1,6 +1,6 @@
 <!--{
        "Title": "The Go Programming Language Specification",
-       "Subtitle": "Version of February 13, 2012"
+       "Subtitle": "Version of February 14, 2012"
 }-->
 
 <!--
@@ -737,7 +737,7 @@ particular architecture.
 
 <p>
 A <i>string type</i> represents the set of string values.
-Strings behave like arrays of bytes but are immutable: once created,
+Strings behave like slices of bytes but are immutable: once created,
 it is impossible to change the contents of a string.
 The predeclared string type is <code>string</code>.