]> Cypherpunks repositories - gostls13.git/commit
faq: another way to solve the closure/variable/range complaint
authorRob Pike <r@golang.org>
Fri, 7 Sep 2012 16:11:39 +0000 (09:11 -0700)
committerRob Pike <r@golang.org>
Fri, 7 Sep 2012 16:11:39 +0000 (09:11 -0700)
commit0cab7d52d5ffaa23f31dfcabf61662a6581d1edb
treebd63a929d071ae8d6792ae39bb5ad517d5ff38e3
parentacbe6c94d710932706fb67d6caaa6dbe6cbd4dad
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