convert remaining range(a, b) to a..b

This commit is contained in:
Jorge Aparicio 2015-01-26 16:05:07 -05:00
parent 7d661af9c8
commit efc97a51ff
48 changed files with 101 additions and 102 deletions

View file

@ -392,7 +392,7 @@ pub fn parse(sess: &ParseSess,
cur_eis.push(new_ei);
}
let matches: Vec<_> = range(0, ei.matches.len())
let matches: Vec<_> = (0..ei.matches.len())
.map(|_| Vec::new()).collect();
let ei_t = ei;
cur_eis.push(box MatcherPos {