(&self, key: &Q)
| 265 | } |
| 266 | |
| 267 | fn get<Q>(&self, key: &Q) -> Option<&V> |
| 268 | where |
| 269 | K: std::borrow::Borrow<Q>, |
| 270 | Q: Eq + ?Sized, |
| 271 | { |
| 272 | self.entries |
| 273 | .iter() |
| 274 | .find(|(k, _)| k.borrow() == key) |
| 275 | .map(|(_, v)| v) |
| 276 | } |
| 277 | } |
| 278 | |
| 279 | #[derive(Debug)] |
no outgoing calls
no test coverage detected