iron / router

Router middleware for the Iron web framework.
165 stars 74 forks source link

error: unresolved import `std::collections::hash_map::Occupied` #58

Closed emk closed 9 years ago

emk commented 9 years ago

Just a normal nightly build error:

/home/travis/.cargo/git/checkouts/router-ed914fc2bd2a44a9/master/src/router.rs:2:34: 2:42 error: unresolved import std::collections::hash_map::Occupied. There is no Occupied in std::collections::hash_map /home/travis/.cargo/git/checkouts/router-ed914fc2bd2a44a9/master/src/router.rs:2 use std::collections::hash_map::{Occupied, Vacant};

tadas-s commented 9 years ago

If anyone's feeling adventurous here's my fix. Example provided with router project works again, everything builds... However I literally have no idea what I'm doing (Rust newbie) so not sure if it's PR worthy.

reem commented 9 years ago

@tadas-s feel free to make a PR and I'll review, if you want. Otherwise let me know and I'll just make the fix.