Commit 58d18e25 authored by Robert Hencke's avatar Robert Hencke Committed by Rob Pike

spec: fix small typo in comment for example

R=golang-dev, mirtchovski, r
CC=golang-dev
https://golang.org/cl/14227043
parent a51b8cf8
<!--{ <!--{
"Title": "The Go Programming Language Specification", "Title": "The Go Programming Language Specification",
"Subtitle": "Version of Sep 16, 2013", "Subtitle": "Version of Oct 3, 2013",
"Path": "/doc/spec" "Path": "/doc/spec"
}--> }-->
...@@ -2671,7 +2671,7 @@ sliced operand: ...@@ -2671,7 +2671,7 @@ sliced operand:
</p> </p>
<pre> <pre>
a[2:] // same a[2 : len(a)] a[2:] // same as a[2 : len(a)]
a[:3] // same as a[0 : 3] a[:3] // same as a[0 : 3]
a[:] // same as a[0 : len(a)] a[:] // same as a[0 : len(a)]
</pre> </pre>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment