(&mut self, key: &K)
| 81 | } |
| 82 | |
| 83 | fn remove(&mut self, key: &K) -> Option<V> { |
| 84 | self.map.remove(&key).map(|index| { |
| 85 | self.remove_from_list(index); |
| 86 | self.entries[index].val.take().unwrap() |
| 87 | }) |
| 88 | } |
| 89 | |
| 90 | fn get(&mut self, key: &K) -> Option<&V> { |
| 91 | if self.contains(key) { |
no test coverage detected