convert remaining range(a, b)
to a..b
This commit is contained in:
parent
7d661af9c8
commit
efc97a51ff
48 changed files with 101 additions and 102 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue