| 23 | } |
| 24 | |
| 25 | type hashOption[K comparable, V any] struct { |
| 26 | hash func(key *K, seed uintptr) uintptr |
| 27 | } |
| 28 | |
| 29 | func (op hashOption[K, V]) apply(m *Map[K, V]) { |
| 30 | m.hash = *(*hashFn)(noescape(unsafe.Pointer(&op.hash))) |
nothing calls this directly
no outgoing calls
no test coverage detected