(&self)
| 421 | /// Gets the entry's key. |
| 422 | #[inline] |
| 423 | pub fn key(&self) -> K { |
| 424 | match *self { |
| 425 | Entry::Occupied(ref entry) => entry.key(), |
| 426 | Entry::Vacant(ref entry) => entry.key(), |
| 427 | } |
| 428 | } |
| 429 | |
| 430 | /// Modifies the entry if it is occupied. |
| 431 | #[inline] |