diff options
Diffstat (limited to 'doc/go_for_cpp_programmers.html')
-rw-r--r-- | doc/go_for_cpp_programmers.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/go_for_cpp_programmers.html b/doc/go_for_cpp_programmers.html index 6786b7cca..a2291715c 100644 --- a/doc/go_for_cpp_programmers.html +++ b/doc/go_for_cpp_programmers.html @@ -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> |