Skip to content

Commit

Permalink
Merge pull request #124 from qiaohao9/typo
Browse files Browse the repository at this point in the history
typo: The parameter name of the return value is wrong
  • Loading branch information
orcaman committed Nov 8, 2022
2 parents 6496281 + 92a32fa commit d510f1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion concurrent_map_bench_test.go
Expand Up @@ -259,7 +259,7 @@ func BenchmarkMultiGetSetBlock_256_Shard(b *testing.B) {
runWithShards(benchmarkMultiGetSetBlock, b, 256)
}

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

0 comments on commit d510f1f

Please sign in to comment.