diff options
| author | bors <bors@rust-lang.org> | 2016-07-09 02:43:56 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-07-09 02:43:56 -0700 |
| commit | a4327d99dd019556c85ae918a07ac15e0bdece7d (patch) | |
| tree | 97b74da9ede4ea24d5b3072ed12b003fd9f358c9 /src | |
| parent | 24d51f9b213deaa4885c34dcb7c5b85417646e37 (diff) | |
| parent | 5583d81d833bdba8d6ffa9a4c9264f05f4085692 (diff) | |
Auto merge of #33987 - crlf0710:patch-1, r=steveklabnik
doc: Correct char::escape_unicode documentation. A quick fix for documentation.
Diffstat (limited to 'src')
| -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 f570375de5e..a9ea46403f8 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 /// |
