Created
March 14, 2014 03:29
-
-
Save jroweboy/9541653 to your computer and use it in GitHub Desktop.
no method next on vector
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// snip | |
pub fn new(routes: ~[RegexRoute]) -> RegexRouter { | |
let mut rev_map = HashMap::<~str,~str>::new(); | |
for route in routes { | |
match route { | |
// snip | |
error: type `&mut ~[route::regexrouter::RegexRoute]` does not implement any method in scope named `next` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment