From: Brandon Gilmore Date: Fri, 12 Jun 2015 18:32:22 +0000 (-0700) Subject: doc/effective_go: fix grammatical error X-Git-Tag: go1.5beta1~279 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=b9bd57e7152f93d788f62a8cc09d0e0f89b60066;p=gostls13.git doc/effective_go: fix grammatical error Change-Id: Ib52854169f3dd18f54d3ae9263c897d3f45ea869 Reviewed-on: https://go-review.googlesource.com/10982 Reviewed-by: Andrew Gerrand --- diff --git a/doc/effective_go.html b/doc/effective_go.html index 8a827d0433..7dfdb91734 100644 --- a/doc/effective_go.html +++ b/doc/effective_go.html @@ -3054,7 +3054,7 @@ req := req

-but it's a legal and idiomatic in Go to do this. +but it's legal and idiomatic in Go to do this. You get a fresh version of the variable with the same name, deliberately shadowing the loop variable locally but unique to each goroutine.