aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gerrand <adg@golang.org>2010-02-22 14:51:22 -0800
committerAndrew Gerrand <adg@golang.org>2010-02-22 14:51:22 -0800
commit766c3ff735807dcfb9099ae38c643e0c9971203e (patch)
tree403e2bcf4e4912735f69658353b8a3850770474b
parente465ad3cbda8ee8aec4ae188ad878e4ce1e079dc (diff)
downloadgo-766c3ff735807dcfb9099ae38c643e0c9971203e.tar.gz
go-766c3ff735807dcfb9099ae38c643e0c9971203e.zip
effective_go: clarified small comment
R=rsc, cw CC=golang-dev https://golang.org/cl/217085
-rw-r--r--doc/effective_go.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/effective_go.html b/doc/effective_go.html
index ba36a43fe2..684f108de9 100644
--- a/doc/effective_go.html
+++ b/doc/effective_go.html
@@ -943,7 +943,7 @@ These examples illustrate the difference between <code>new()</code> and
<pre>
var p *[]int = new([]int) // allocates slice structure; *p == nil; rarely useful
-var v []int = make([]int, 100) // v now refers to a new array of 100 ints
+var v []int = make([]int, 100) // the slice v now refers to a new array of 100 ints
// Unnecessarily complex:
var p *[]int = new([]int)