]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1] faq: another way to solve the closure/variable/range complaint
authorRob Pike <r@golang.org>
Fri, 21 Sep 2012 19:55:04 +0000 (05:55 +1000)
committerRob Pike <r@golang.org>
Fri, 21 Sep 2012 19:55:04 +0000 (05:55 +1000)
commit0809931b2f3fe52338af686188f9e4c5cdede96b
treed17899416437c96c60fc574e0e3f09dc1866da1a
parent3e9c29d50f31202aa1fa57bd968fdbda732604ba
[release-branch.go1] faq: another way to solve the closure/variable/range complaint

««« backport 3bca7b333e00
faq: another way to solve the closure/variable/range complaint
It's easier just to declare a new variable.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/6501103

»»»
doc/go_faq.html