Skip to content

Commit b3abd54

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

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
@@ -995,7 +995,7 @@ impl Cursor<'_> {
995995
}
996996
}
997997

998-
/// Returns `true` if a digit was consumed (rather than just '_')
998+
/// Returns `true` if a digit was consumed (rather than just '_'s).
999999
fn eat_decimal_digits(&mut self) -> bool {
10001000
let mut has_digits = false;
10011001
loop {

0 commit comments

Comments
 (0)