1
0
mirror of https://github.com/golang/go synced 2024-11-11 23:40:22 -07:00

doc/effective_go: fix grammatical error

Change-Id: Ib52854169f3dd18f54d3ae9263c897d3f45ea869
Reviewed-on: https://go-review.googlesource.com/10982
Reviewed-by: Andrew Gerrand <adg@golang.org>
This commit is contained in:
Brandon Gilmore 2015-06-12 11:32:22 -07:00 committed by Andrew Gerrand
parent 57f4b43078
commit b9bd57e715

View File

@ -3054,7 +3054,7 @@ req := req
</pre> </pre>
<p> <p>
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 You get a fresh version of the variable with the same name, deliberately
shadowing the loop variable locally but unique to each goroutine. shadowing the loop variable locally but unique to each goroutine.
</p> </p>