diff options
| author | Proloy Mishra <67726964+pro465@users.noreply.github.com> | 2022-06-28 19:59:09 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-28 19:59:09 +0530 |
| commit | 8c22b6bcaccd4a2fa1ac3f4e03c74847f203e166 (patch) | |
| tree | 0d7f2bd7d5f575d9cf43b38d8ee28ebd7716d33e /compiler/rustc_lexer/src | |
| parent | baf382e63c023259fa1f9042f8f479f183ca6ed3 (diff) | |
| download | rust-8c22b6bcaccd4a2fa1ac3f4e03c74847f203e166.tar.gz rust-8c22b6bcaccd4a2fa1ac3f4e03c74847f203e166.zip | |
fix typo in comment
Diffstat (limited to 'compiler/rustc_lexer/src')
| -rw-r--r-- | compiler/rustc_lexer/src/unescape.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_lexer/src/unescape.rs b/compiler/rustc_lexer/src/unescape.rs index 97f9588ae1e..3da6bc14622 100644 --- a/compiler/rustc_lexer/src/unescape.rs +++ b/compiler/rustc_lexer/src/unescape.rs @@ -238,7 +238,7 @@ fn scan_escape(chars: &mut Chars<'_>, mode: Mode) -> Result<char, EscapeError> { c.to_digit(16).ok_or(EscapeError::InvalidCharInUnicodeEscape)?; n_digits += 1; if n_digits > 6 { - // Stop updating value since we're sure that it's is incorrect already. + // Stop updating value since we're sure that it's incorrect already. continue; } let digit = digit as u32; |
