(&self, key: K)
| 107 | #[inline] |
| 108 | #[track_caller] |
| 109 | pub fn get(&self, key: K) -> Option<&V> { |
| 110 | let entry = self.dense.get(self.sparse[key] as usize)?; |
| 111 | if entry.0 == key { |
| 112 | return Some(&entry.1); |
| 113 | } |
| 114 | None |
| 115 | } |
| 116 | |
| 117 | /// Returns a mutable reference to the value corresponding to the key. |
| 118 | /// |
no outgoing calls
no test coverage detected