diff options
| author | Jorge Aparicio <japaricious@gmail.com> | 2015-01-26 16:05:07 -0500 |
|---|---|---|
| committer | Jorge Aparicio <japaricious@gmail.com> | 2015-01-29 07:49:01 -0500 |
| commit | efc97a51ffc798247e36156cf8e2d175bf509018 (patch) | |
| tree | 2add0ca20cbe4fc9abec6e98d5d15e2065d12322 /src/libsyntax/ext/tt | |
| parent | 7d661af9c86566088f7dbaeee25143ecde673b75 (diff) | |
| download | rust-efc97a51ffc798247e36156cf8e2d175bf509018.tar.gz rust-efc97a51ffc798247e36156cf8e2d175bf509018.zip | |
convert remaining `range(a, b)` to `a..b`
Diffstat (limited to 'src/libsyntax/ext/tt')
| -rw-r--r-- | src/libsyntax/ext/tt/macro_parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ext/tt/macro_parser.rs b/src/libsyntax/ext/tt/macro_parser.rs index a718cc597c4..e3211c7c337 100644 --- a/src/libsyntax/ext/tt/macro_parser.rs +++ b/src/libsyntax/ext/tt/macro_parser.rs @@ -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 { |
