diff options
| author | Igor Matuszewski <Xanewok@gmail.com> | 2019-05-13 12:07:43 +0200 |
|---|---|---|
| committer | Igor Matuszewski <Xanewok@gmail.com> | 2019-06-08 20:05:02 +0200 |
| commit | 08ede49dcb0ae9a085f1cb8ccf6bc0ba682c83e7 (patch) | |
| tree | 7141695fb4c22fd7e108b2d3ffeb4ea8cddf347f /src/libsyntax/parse | |
| parent | b8e3533b732326da3f50ca35fb033cba66150405 (diff) | |
| download | rust-08ede49dcb0ae9a085f1cb8ccf6bc0ba682c83e7.tar.gz rust-08ede49dcb0ae9a085f1cb8ccf6bc0ba682c83e7.zip | |
Remove redundant, commented out code
It was commented out as part of https://github.com/rust-lang/rust/commit/8a8e497ae786ffc032c1e68fc23da0edcf6fa5e3. Done probably by accident, since the code in question was moved to a match arm, along with newly introduced logic to detect bare CRs in raw strings.
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/lexer/mod.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/libsyntax/parse/lexer/mod.rs b/src/libsyntax/parse/lexer/mod.rs index c42f694f50a..02ef94fe9ad 100644 --- a/src/libsyntax/parse/lexer/mod.rs +++ b/src/libsyntax/parse/lexer/mod.rs @@ -1275,12 +1275,6 @@ impl<'a> StringReader<'a> { let mut content_end_bpos; let mut valid = true; 'outer: loop { - // if self.ch_is('"') { - // content_end_bpos = self.pos; - // for _ in 0..hash_count { - // self.bump(); - // if !self.ch_is('#') { - // continue 'outer; match self.ch { None => { self.fail_unterminated_raw_string(start_bpos, hash_count); |
