From 9a44578806436e005f2e72618f92a8d597146c52 Mon Sep 17 00:00:00 2001 From: Andrey Mirtchovski Date: Tue, 9 Mar 2010 14:21:34 -0800 Subject: [PATCH] missing ';' renders the code snippet incorrectly on website R=golang-dev, r CC=golang-dev https://golang.org/cl/367041 --- doc/go_for_cpp_programmers.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)].