1
0
mirror of https://github.com/golang/go synced 2024-11-21 14:24:44 -07:00

missing ';' renders the code snippet incorrectly on website

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/367041
This commit is contained in:
Andrey Mirtchovski 2010-03-09 14:21:34 -08:00 committed by Rob Pike
parent 9280b746ee
commit 9a44578806

View File

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