Skip to content

Commit

Permalink
💄 lint
Browse files Browse the repository at this point in the history
  • Loading branch information
samber committed Aug 11, 2024
1 parent cd0bc21 commit da6eb9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions map_benchmark_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func BenchmarkUniqKeys(b *testing.B) {
continue
}
seen[k] = struct{}{}
result = append(result, k)
result = append(result, k) //nolint:staticcheck
}
}
}
Expand All @@ -117,7 +117,7 @@ func BenchmarkUniqKeys(b *testing.B) {
result := make([]int64, 0, len(seen))

for k := range seen {
result = append(result, k)
result = append(result, k) //nolint:staticcheck
}
}
})
Expand Down

0 comments on commit da6eb9d

Please sign in to comment.