Fix a typo
Fix a typo in `libcore/char/methods.rs`
This commit is contained in:
parent
9a90d03ad1
commit
47551b1513
@ -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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user