Commit 9a445788 authored by Andrey Mirtchovski's avatar Andrey Mirtchovski Committed by Rob Pike

missing ';' renders the code snippet incorrectly on website

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/367041
parent 9280b746
......@@ -374,7 +374,7 @@ capacity of the new slice is simply the capacity of <code>a</code> minus
<code>I</code>. The capacity
of an array is the length of the array. You may also assign an array pointer
to a variable of slice type; given <code>var s []int; var a[10] int</code>,
the assignment <code>s = &ampa</code> is equivalent to
the assignment <code>s = &amp;a</code> is equivalent to
<code>s = a[0:len(a)]</code>.
<p>
......
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