diff options
| author | MALO <57839069+MDLC01@users.noreply.github.com> | 2023-06-24 14:33:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-24 14:33:17 +0200 |
| commit | b96b7b7ee12a5d1c8e8c24c95b58b7ca03cec44b (patch) | |
| tree | a8884268565be8540c509e53f0fdbccd5e73b89f /src | |
| parent | 48c25f4da01aa5cbd5e49145f591c85b676e8a54 (diff) | |
Use third person in documentation (#1560)
Diffstat (limited to 'src')
| -rw-r--r-- | src/syntax/lexer.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/syntax/lexer.rs b/src/syntax/lexer.rs index d0e5c9bd..ae4462d9 100644 --- a/src/syntax/lexer.rs +++ b/src/syntax/lexer.rs @@ -203,7 +203,7 @@ impl Lexer<'_> { if self.s.eat_if("u{") { let hex = self.s.eat_while(char::is_ascii_alphanumeric); if !self.s.eat_if('}') { - return self.error("unclosed unicode escape sequence"); + return self.error("unclosed Unicode escape sequence"); } if u32::from_str_radix(hex, 16) @@ -211,7 +211,7 @@ impl Lexer<'_> { .and_then(std::char::from_u32) .is_none() { - return self.error(eco_format!("invalid unicode codepoint: {}", hex)); + return self.error(eco_format!("invalid Unicode codepoint: {}", hex)); } return SyntaxKind::Escape; |
