]> Cypherpunks repositories - gostls13.git/commitdiff
spec: fix small typo in comment for example
authorRobert Hencke <robert.hencke@gmail.com>
Thu, 3 Oct 2013 19:46:02 +0000 (12:46 -0700)
committerRob Pike <r@golang.org>
Thu, 3 Oct 2013 19:46:02 +0000 (12:46 -0700)
R=golang-dev, mirtchovski, r
CC=golang-dev
https://golang.org/cl/14227043

doc/go_spec.html

index 7b74e8ffb57be9f60a13b85b267a2085f342b24f..59bf4936222ce8f59042f4736397c3b4194b958b 100644 (file)
@@ -1,6 +1,6 @@
 <!--{
        "Title": "The Go Programming Language Specification",
-       "Subtitle": "Version of Sep 16, 2013",
+       "Subtitle": "Version of Oct 3, 2013",
        "Path": "/doc/spec"
 }-->
 
@@ -2671,7 +2671,7 @@ sliced operand:
 </p>
 
 <pre>
-a[2:]  // same a[2 : len(a)]
+a[2:]  // same as a[2 : len(a)]
 a[:3]  // same as a[0 : 3]
 a[:]   // same as a[0 : len(a)]
 </pre>