Simplify make call by omitting redundant arguments (#6949)

* removed redundant args
* Merge refs/heads/master into omit-redundant-make-args
This commit is contained in:
rkapka
2020-08-10 13:06:53 +02:00
committed by GitHub
parent 44f9d07434
commit 33105f1bbc
9 changed files with 14 additions and 14 deletions

View File

@@ -110,7 +110,7 @@ func BenchmarkShuffleList(b *testing.B) {
listSizes := []uint64{400000, 40000, 400}
seed := [32]byte{123, 42}
for _, listSize := range listSizes {
testIndices := make([]uint64, listSize, listSize)
testIndices := make([]uint64, listSize)
for i := uint64(0); i < listSize; i++ {
testIndices[i] = i
}