We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 33ad846 + 5adba8e commit 7552c2eCopy full SHA for 7552c2e
src/libsyntax/parse/lexer/mod.rs
@@ -516,6 +516,7 @@ impl<'a> StringReader<'a> {
516
return None;
517
}
518
let start = self.pos;
519
+ self.bump();
520
while ident_continue(self.ch) {
521
self.bump();
522
@@ -1155,6 +1156,7 @@ impl<'a> StringReader<'a> {
1155
1156
1157
1158
1159
1160
1161
1162
@@ -1300,11 +1302,7 @@ impl<'a> StringReader<'a> {
1300
1302
1301
1303
'-' => {
1304
- match self.ch.unwrap_or('\x00') {
- _ => {
1305
- Ok(token::LArrow)
1306
- }
1307
+ Ok(token::LArrow)
1308
1309
_ => {
1310
Ok(token::Lt)
0 commit comments