Created
June 12, 2014 18:30
-
-
Save collinvandyck/f0911e99bfd7275ca278 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for _, foo := range foos { | |
| // is there a valid reason for ever taking the address of a | |
| // variable written to by range? | |
| process(&foo) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
no, use index or pointer but good reminder ;)