summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ba36a43fe..684f108de 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)