diff --git a/doc/go_for_cpp_programmers.html b/doc/go_for_cpp_programmers.html index 6786b7cca6b..a2291715ce7 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 a minus I. 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 var s []int; var a[10] int, -the assignment s = &a is equivalent to +the assignment s = &a is equivalent to s = a[0:len(a)].