diff --git a/table.go b/table.go index 945e102..a978902 100644 --- a/table.go +++ b/table.go @@ -111,7 +111,7 @@ func (t *Table[K, V]) Put(key K, value V) (err error) { // Drop removes a value for a key in the table. Returns an error if its value // cannot be removed. -func (t Table[K, V]) Drop(key K) (err error) { +func (t *Table[K, V]) Drop(key K) (err error) { t.bucketA.drop(key) t.bucketB.drop(key)