diff options
Diffstat (limited to 'libgo/go/runtime/mapspeed_test.go')
-rw-r--r-- | libgo/go/runtime/mapspeed_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/go/runtime/mapspeed_test.go b/libgo/go/runtime/mapspeed_test.go index da45ea11e49..119eb3f39c7 100644 --- a/libgo/go/runtime/mapspeed_test.go +++ b/libgo/go/runtime/mapspeed_test.go @@ -241,7 +241,7 @@ func BenchmarkMapIter(b *testing.B) { } b.ResetTimer() for i := 0; i < b.N; i++ { - for _, _ = range m { + for range m { } } } @@ -250,7 +250,7 @@ func BenchmarkMapIterEmpty(b *testing.B) { m := make(map[int]bool) b.ResetTimer() for i := 0; i < b.N; i++ { - for _, _ = range m { + for range m { } } } |