mirror of
https://github.com/golang/go
synced 2024-11-21 15:14:43 -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:
parent
9280b746ee
commit
9a44578806
@ -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 = &a</code> is equivalent to
|
||||
the assignment <code>s = &a</code> is equivalent to
|
||||
<code>s = a[0:len(a)]</code>.
|
||||
|
||||
<p>
|
||||
|
Loading…
Reference in New Issue
Block a user