Auto merge of #33987 - crlf0710:patch-1, r=steveklabnik

doc: Correct char::escape_unicode documentation.

A quick fix for documentation.
This commit is contained in:
bors 2016-07-09 02:43:56 -07:00 committed by GitHub
commit a4327d99dd

View File

@ -232,8 +232,8 @@ pub fn to_digit(self, radix: u32) -> Option<u32> {
/// 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
///