mirror of
https://github.com/golang/go
synced 2024-09-29 01:14:29 -06:00
maps: delete unused var
Change-Id: I3d0c196e2ec139d224d057a954c631251b80e921 Reviewed-on: https://go-review.googlesource.com/c/go/+/496077 Run-TryBot: xie cui <523516579@qq.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com> Reviewed-by: Keith Randall <khr@golang.org> Auto-Submit: Keith Randall <khr@golang.org> Reviewed-by: Keith Randall <khr@google.com>
This commit is contained in:
parent
bd3f44e4ff
commit
09e0f50d03
@ -234,8 +234,6 @@ func TestCloneWithMapAssign(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
var keysArr []int
|
||||
|
||||
func BenchmarkKeys(b *testing.B) {
|
||||
m := make(map[int]int, 1000000)
|
||||
for i := 0; i < 1000000; i++ {
|
||||
|
Loading…
Reference in New Issue
Block a user