diff options
| author | Joseph Crail <jbcrail@gmail.com> | 2014-09-02 01:35:58 -0400 |
|---|---|---|
| committer | Joseph Crail <jbcrail@gmail.com> | 2014-09-03 23:10:38 -0400 |
| commit | b7bfe04b2d003d08f6ac450f41d7f221cb87f129 (patch) | |
| tree | 0bb355348f8f89601ad778d494f22e5f004912da /src/libserialize | |
| parent | d59d97cbec6807166bc237d6f3f9bd1eeb5288d7 (diff) | |
| download | rust-b7bfe04b2d003d08f6ac450f41d7f221cb87f129.tar.gz rust-b7bfe04b2d003d08f6ac450f41d7f221cb87f129.zip | |
Fix spelling errors and capitalization.
Diffstat (limited to 'src/libserialize')
| -rw-r--r-- | src/libserialize/json.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserialize/json.rs b/src/libserialize/json.rs index b37b4588af6..b29200597aa 100644 --- a/src/libserialize/json.rs +++ b/src/libserialize/json.rs @@ -278,7 +278,7 @@ pub fn error_str(error: ErrorCode) -> &'static str { UnrecognizedHex => "invalid \\u escape (unrecognized hex)", NotFourDigit => "invalid \\u escape (not four digits)", NotUtf8 => "contents not utf-8", - InvalidUnicodeCodePoint => "invalid unicode code point", + InvalidUnicodeCodePoint => "invalid Unicode code point", LoneLeadingSurrogateInHexEscape => "lone leading surrogate in hex escape", UnexpectedEndOfHexEscape => "unexpected end of hex escape", } |
