diff options
| author | Andrey Mirtchovski <mirtchovski@gmail.com> | 2010-03-09 14:21:34 -0800 | 
|---|---|---|
| committer | Andrey Mirtchovski <mirtchovski@gmail.com> | 2010-03-09 14:21:34 -0800 | 
| commit | fa2b4ec3b3765405e57aa3809f9375df2984cc50 (patch) | |
| tree | a3e283395a63a93d98311b3f70e35dcf9bdede93 /doc/go_for_cpp_programmers.html | |
| parent | 29c65d75859c89b5932f74d64c3ae4cc477bf573 (diff) | |
| download | golang-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>
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> | 
