From 766c3ff735807dcfb9099ae38c643e0c9971203e Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Mon, 22 Feb 2010 14:51:22 -0800 Subject: [PATCH] effective_go: clarified small comment R=rsc, cw CC=golang-dev https://golang.org/cl/217085 --- doc/effective_go.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 new() and
 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)
-- 
2.50.0