Remove a key from the tree, returning an error if the key doesn't exist. This is equivalent to Python's `del tree[key]`.
(&mut self, key: &K)
| 59 | /// Remove a key from the tree, returning an error if the key doesn't exist. |
| 60 | /// This is equivalent to Python's `del tree[key]`. |
| 61 | pub fn remove_item(&mut self, key: &K) -> ModifyResult<V> { |
| 62 | self.remove(key).ok_or(BPlusTreeError::KeyNotFound) |
| 63 | } |
| 64 | |
| 65 | /// Recursively remove a key with proper arena access. |
| 66 | #[inline] |