diff options
author | Ryan Hitchman <hitchmanr@gmail.com> | 2010-12-08 21:36:56 -0800 |
---|---|---|
committer | Ryan Hitchman <hitchmanr@gmail.com> | 2010-12-08 21:36:56 -0800 |
commit | 9bf227d84c3b731b97ae2446e7bb39166265648f (patch) | |
tree | 687d0140311902128b8b1ce263a77b4a4594327e /test/blank.go | |
parent | b058e078ed4cd2b62ae9b4de2b494605dc258b1e (diff) | |
download | go-9bf227d84c3b731b97ae2446e7bb39166265648f.tar.gz |
throughout: simplify two-variable ranges with unused second variable
R=golang-dev, gri
CC=golang-dev
http://codereview.appspot.com/3529041
Committer: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'test/blank.go')
-rw-r--r-- | test/blank.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/blank.go b/test/blank.go index b9d3a32a8..6e69f8aaa 100644 --- a/test/blank.go +++ b/test/blank.go @@ -77,7 +77,7 @@ func main() { if out != "123" {panic(out)} sum := 0 - for s, _ := range ints { + for s := range ints { sum += s } if sum != 3 {panic(sum)} |