diff options
| author | CrLF0710 <crlf0710@gmail.com> | 2016-06-01 01:54:04 +0800 |
|---|---|---|
| committer | CrLF0710 <crlf0710@gmail.com> | 2016-06-01 01:54:04 +0800 |
| commit | 5583d81d833bdba8d6ffa9a4c9264f05f4085692 (patch) | |
| tree | f2e97f8da361a0681fd4de4d66b4a010da6a9e36 | |
| parent | 298730e7032cd55809423773da397cd5c7d827d4 (diff) | |
doc: Correct char::escape_unicode documentation.
| -rw-r--r-- | src/librustc_unicode/char.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_unicode/char.rs b/src/librustc_unicode/char.rs index 863cada5b88..5825327a2f1 100644 --- a/src/librustc_unicode/char.rs +++ b/src/librustc_unicode/char.rs @@ -232,8 +232,8 @@ impl char { /// Returns an iterator that yields the hexadecimal Unicode escape of a /// character, as `char`s. /// - /// All characters are escaped with Rust syntax of the form `\\u{NNNN}` - /// where `NNNN` is the shortest hexadecimal representation. + /// All characters are escaped with Rust syntax of the form `\u{NNNNNN}` + /// where `NNNNNN` is the shortest hexadecimal representation. /// /// # Examples /// |
