Skip to content

Commit d2c442d

Browse files
authored
Mention K and V in generic SyncMap struct fields (#1687)
1 parent 9347366 commit d2c442d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/collections/syncmap.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import (
66
)
77

88
type SyncMap[K comparable, V any] struct {
9+
_ [0]K
10+
_ [0]V
911
m sync.Map
1012
}
1113

0 commit comments

Comments
 (0)