Fix a typo

Fix a typo in `libcore/char/methods.rs`
This commit is contained in:
lcolaholicl 2019-06-30 02:02:03 +09:00
parent 9a90d03ad1
commit 47551b1513

View File

@ -337,7 +337,7 @@ impl char {
/// ```
/// // as chars
/// let eastern = '東';
/// let capitol = '京';
/// let capital = '京';
///
/// // both can be represented as three bytes
/// assert_eq!(3, eastern.len_utf8());