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",
"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>
......
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