diff options
author | Rob Pike <r@golang.org> | 2009-12-23 13:47:58 +1100 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2009-12-23 13:47:58 +1100 |
commit | 617a6a519f2fa8f930d4552865d1e828dc883b8e (patch) | |
tree | ae8a29607bd62c2bc83994aaac267851afaa48e5 | |
parent | a0862ea568dd91aebda60dd4df4290b3d3d55023 (diff) | |
download | go-617a6a519f2fa8f930d4552865d1e828dc883b8e.tar.gz go-617a6a519f2fa8f930d4552865d1e828dc883b8e.zip |
fix documentation bug in example
Fixes #452.
R=gri
CC=golang-dev, dougfelt
https://golang.org/cl/181043
-rw-r--r-- | doc/effective_go.html | 2 |
1 files changed, 1 insertions, 1 deletions
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. <pre> 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]) |