diff options
| author | Jorge Aparicio <japaricious@gmail.com> | 2015-01-01 22:55:09 -0500 |
|---|---|---|
| committer | Jorge Aparicio <japaricious@gmail.com> | 2015-01-03 09:34:05 -0500 |
| commit | 6b19a02080b816d0f416872e63f9b2dd90165c0f (patch) | |
| tree | 24f704cb79ff0f441a1738232ad5c43b1a510616 /src/libsyntax/parse | |
| parent | 6bff9de8eaa511807e9d6a323d57591b6d2ddcc6 (diff) | |
| download | rust-6b19a02080b816d0f416872e63f9b2dd90165c0f.tar.gz rust-6b19a02080b816d0f416872e63f9b2dd90165c0f.zip | |
syntax: fix fallout
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/mod.rs b/src/libsyntax/parse/mod.rs index 88c485a07ac..8598571e5c3 100644 --- a/src/libsyntax/parse/mod.rs +++ b/src/libsyntax/parse/mod.rs @@ -598,7 +598,7 @@ pub fn binary_lit(lit: &str) -> Rc<Vec<u8>> { let error = |&: i| format!("lexer should have rejected {} at {}", lit, i); /// Eat everything up to a non-whitespace - fn eat<'a, I: Iterator<(uint, u8)>>(it: &mut iter::Peekable<(uint, u8), I>) { + fn eat<'a, I: Iterator<Item=(uint, u8)>>(it: &mut iter::Peekable<(uint, u8), I>) { loop { match it.peek().map(|x| x.1) { Some(b' ') | Some(b'\n') | Some(b'\r') | Some(b'\t') => { |
