1
0
mirror of https://github.com/golang/go synced 2024-11-26 16:16:57 -07:00

spec: fix small typo in comment for example

R=golang-dev, mirtchovski, r
CC=golang-dev
https://golang.org/cl/14227043
This commit is contained in:
Robert Hencke 2013-10-03 12:46:02 -07:00 committed by Rob Pike
parent a51b8cf870
commit 58d18e25af

View 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>