Skip to content

Commit 164c98e

Browse files
authored
Rollup merge of #98623 - pro465:patch-1, r=Dylan-DPC
fix typo in comment
2 parents db872ee + 8c22b6b commit 164c98e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_lexer/src/unescape.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ fn scan_escape(chars: &mut Chars<'_>, mode: Mode) -> Result<char, EscapeError> {
238238
c.to_digit(16).ok_or(EscapeError::InvalidCharInUnicodeEscape)?;
239239
n_digits += 1;
240240
if n_digits > 6 {
241-
// Stop updating value since we're sure that it's is incorrect already.
241+
// Stop updating value since we're sure that it's incorrect already.
242242
continue;
243243
}
244244
let digit = digit as u32;

0 commit comments

Comments
 (0)