Skip to content

Commit 7a2e2f4

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

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
@@ -695,7 +695,7 @@ impl Cursor<'_> {
695695
}
696696
}
697697
('e' | 'E', '0'..='9' | '+' | '-') => {
698-
// definitely an exponent
698+
// Definitely an exponent (which still can be empty).
699699
self.bump();
700700
empty_exponent = !self.eat_float_exponent();
701701
suffix_start = self.pos_within_token();

0 commit comments

Comments
 (0)