aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/string_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/runtime/string_test.go')
-rw-r--r--src/pkg/runtime/string_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/runtime/string_test.go b/src/pkg/runtime/string_test.go
index 73ac95e018..e7ac51a5f0 100644
--- a/src/pkg/runtime/string_test.go
+++ b/src/pkg/runtime/string_test.go
@@ -85,7 +85,7 @@ func BenchmarkRuneIterate(b *testing.B) {
}
s := string(bytes)
for i := 0; i < b.N; i++ {
- for _ = range s {
+ for range s {
}
}
}
@@ -97,7 +97,7 @@ func BenchmarkRuneIterate2(b *testing.B) {
}
s := string(bytes)
for i := 0; i < b.N; i++ {
- for _ = range s {
+ for range s {
}
}
}