doc: Correct char::escape_unicode documentation.

This commit is contained in:
CrLF0710 2016-06-01 01:54:04 +08:00
parent 298730e703
commit 5583d81d83

View file

@ -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
///