Skip to content

Commit d510f1f

Browse files
authored
Merge pull request #124 from qiaohao9/typo
typo: The parameter name of the return value is wrong
2 parents 6496281 + 92a32fa commit d510f1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

concurrent_map_bench_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ func BenchmarkMultiGetSetBlock_256_Shard(b *testing.B) {
259259
runWithShards(benchmarkMultiGetSetBlock, b, 256)
260260
}
261261

262-
func GetSet[V any](m ConcurrentMap[V], finished chan struct{}) (set func(key string, value V), get func(key string, value V)) {
262+
func GetSet[V any](m ConcurrentMap[V], finished chan struct{}) (get func(key string, value V), set func(key string, value V)) {
263263
return func(key string, value V) {
264264
for i := 0; i < 10; i++ {
265265
m.Get(key)

0 commit comments

Comments
 (0)