diff --git a/src/multimap_table.rs b/src/multimap_table.rs index d00b8b1e..c0e3cf50 100644 --- a/src/multimap_table.rs +++ b/src/multimap_table.rs @@ -983,10 +983,10 @@ impl<'txn, K: Key + 'static, V: Key + 'static> MultimapTable<'txn, K, V> { /// Removes the given key-value pair /// /// Returns `true` if the key-value pair was present - pub fn remove<'a>( + pub fn remove<'k, 'v>( &mut self, - key: impl Borrow>, - value: impl Borrow>, + key: impl Borrow>, + value: impl Borrow>, ) -> Result { let get_result = self.tree.get(key.borrow())?; if get_result.is_none() {