From 617a6a519f2fa8f930d4552865d1e828dc883b8e Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Wed, 23 Dec 2009 13:47:58 +1100 Subject: [PATCH] fix documentation bug in example Fixes #452. R=gri CC=golang-dev, dougfelt https://golang.org/cl/181043 --- 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 d7b5eb2431..c9f1a12575 100644 --- a/doc/effective_go.html +++ b/doc/effective_go.html @@ -2217,7 +2217,7 @@ as in this idealized example.
 type Vector []float64
 
-// Apply the operation to n elements of v starting at i.
+// Apply the operation to v[i], v[i+1] ... up to v[n-1].
 func (v Vector) DoSome(i, n int, u Vector, c chan int) {
     for ; i < n; i++ {
         v[i] += u.Op(v[i])