Skip to content

Commit 8c22b6b

Browse files
authored
fix typo in comment
1 parent baf382e commit 8c22b6b

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)