diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2013-06-10 23:15:01 +1000 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2013-06-10 23:15:01 +1000 |
| commit | 5a711ea7c317ea90f03d5118dbb2e19e1622bc29 (patch) | |
| tree | 53bb665e8ba27551a5e8ae25b8295c6284721d17 /src/libsyntax/parse | |
| parent | ead4468249f57ca530cddf347f15c1f348c1c325 (diff) | |
| download | rust-5a711ea7c317ea90f03d5118dbb2e19e1622bc29.tar.gz rust-5a711ea7c317ea90f03d5118dbb2e19e1622bc29.zip | |
clean-up unused import warnings
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/lexer.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libsyntax/parse/lexer.rs b/src/libsyntax/parse/lexer.rs index 5f9bc4ca6f6..002a6caf85c 100644 --- a/src/libsyntax/parse/lexer.rs +++ b/src/libsyntax/parse/lexer.rs @@ -22,7 +22,6 @@ use parse::token::{str_to_ident}; use core::iterator::IteratorUtil; use core::char; use core::either; -use core::str; use core::u64; pub use ext::tt::transcribe::{TtReader, new_tt_reader}; @@ -548,7 +547,7 @@ fn ident_continue(c: char) -> bool { // EFFECT: advances the input past that token // EFFECT: updates the interner fn next_token_inner(rdr: @mut StringReader) -> token::Token { - let mut c = rdr.curr; + let c = rdr.curr; if ident_start(c) { let start = rdr.last_pos; while ident_continue(rdr.curr) { |
