File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -262,7 +262,8 @@ pub trait Char {
262
262
#[ deprecated = "use the char::from_u32 free function" ]
263
263
fn from_u32 ( i : u32 ) -> Option < char > ;
264
264
265
- /// Returns the hexadecimal Unicode escape of a character.
265
+ /// Returns an iterator that yields the hexadecimal Unicode escape
266
+ /// of a character, as `char`s.
266
267
///
267
268
/// The rules are as follows:
268
269
///
@@ -272,8 +273,8 @@ pub trait Char {
272
273
#[ unstable = "pending error conventions, trait organization" ]
273
274
fn escape_unicode ( self ) -> UnicodeEscapedChars ;
274
275
275
- /// Returns a 'default' ASCII and C++11-like literal escape of a
276
- /// character.
276
+ /// Returns an iterator that yields the 'default' ASCII and
277
+ /// C++11-like literal escape of a character, as `char`s .
277
278
///
278
279
/// The default is chosen with a bias toward producing literals that are
279
280
/// legal in a variety of languages, including C++11 and similar C-family
You can’t perform that action at this time.
0 commit comments