src/router.rs:61:34: 61:42 error: unresolved import `std::collections::hash_map::Occupied`. There is no `Occupied` in `std::collections::hash_map`
src/router.rs:61 use std::collections::hash_map::{Occupied, Vacant};
Occupied and Vacant seems to be renamed to OccupiedEntry and VacantEntry. After replacing these two, the use statemant works without error, but within the match, its not able to find them.
getting the following error:
Occupied
andVacant
seems to be renamed toOccupiedEntry
andVacantEntry
. After replacing these two, the use statemant works without error, but within the match, its not able to find them.My updated Code: https://github.com/wasi/rustful/blob/vacant_occupied_issue/src/router.rs