summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Mirtchovski <mirtchovski@gmail.com>2010-03-09 14:21:34 -0800
committerAndrey Mirtchovski <mirtchovski@gmail.com>2010-03-09 14:21:34 -0800
commitfa2b4ec3b3765405e57aa3809f9375df2984cc50 (patch)
treea3e283395a63a93d98311b3f70e35dcf9bdede93
parent29c65d75859c89b5932f74d64c3ae4cc477bf573 (diff)
downloadgolang-fa2b4ec3b3765405e57aa3809f9375df2984cc50.tar.gz
missing ';' renders the code snippet incorrectly on website
R=golang-dev, r CC=golang-dev http://codereview.appspot.com/367041 Committer: Rob Pike <r@golang.org>
-rw-r--r--doc/go_for_cpp_programmers.html2
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 = &ampa</code> is equivalent to
+the assignment <code>s = &amp;a</code> is equivalent to
<code>s = a[0:len(a)]</code>.
<p>