Skip to content

Commit 633b1b0

Browse files
Update compiler/rustc_lexer/src/lib.rs
Co-authored-by: Vadim Petrochenkov <[email protected]>
1 parent bf23992 commit 633b1b0

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_lexer/src

1 file changed

+1
-1
lines changed

compiler/rustc_lexer/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ impl Cursor<'_> {
725725
}
726726
}
727727
('e' | 'E', '0'..='9' | '+' | '-') => {
728-
// definitely an exponent
728+
// // Definitely an exponent (which still can be empty).
729729
self.bump();
730730
let empty_exponent = !self.eat_float_exponent();
731731
let suffix_start = self.pos_within_token();

0 commit comments

Comments
 (0)