aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/malloc_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/runtime/malloc_test.go')
-rw-r--r--src/pkg/runtime/malloc_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/malloc_test.go b/src/pkg/runtime/malloc_test.go
index 128ec098cb..ce2456296a 100644
--- a/src/pkg/runtime/malloc_test.go
+++ b/src/pkg/runtime/malloc_test.go
@@ -100,7 +100,7 @@ func BenchmarkGoroutineBlocking(b *testing.B) {
func BenchmarkGoroutineForRange(b *testing.B) {
read := func(ch chan struct{}) {
- for _ = range ch {
+ for range ch {
}
}
benchHelper(b, *n, read)