Skip to content

Commit 08ede49

Browse files
committed
Remove redundant, commented out code
It was commented out as part of rust-lang@8a8e497. 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.
1 parent b8e3533 commit 08ede49

File tree

1 file changed

+0
-6
lines changed
  • src/libsyntax/parse/lexer

1 file changed

+0
-6
lines changed

src/libsyntax/parse/lexer/mod.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1275,12 +1275,6 @@ impl<'a> StringReader<'a> {
12751275
let mut content_end_bpos;
12761276
let mut valid = true;
12771277
'outer: loop {
1278-
// if self.ch_is('"') {
1279-
// content_end_bpos = self.pos;
1280-
// for _ in 0..hash_count {
1281-
// self.bump();
1282-
// if !self.ch_is('#') {
1283-
// continue 'outer;
12841278
match self.ch {
12851279
None => {
12861280
self.fail_unterminated_raw_string(start_bpos, hash_count);

0 commit comments

Comments
 (0)