diff options
| author | lcolaholicl <lcolaholicl@gmail.com> | 2019-06-30 02:02:03 +0900 |
|---|---|---|
| committer | lcolaholicl <lcolaholicl@gmail.com> | 2019-06-30 02:02:03 +0900 |
| commit | 47551b1513f24ec695a6fc05326044d74a64e156 (patch) | |
| tree | 501270637e7023074610041f36701632086a7bf0 | |
| parent | 9a90d03ad171856dc016c2dcc19292ec49a8a26f (diff) | |
| download | rust-47551b1513f24ec695a6fc05326044d74a64e156.tar.gz rust-47551b1513f24ec695a6fc05326044d74a64e156.zip | |
Fix a typo
Fix a typo in `libcore/char/methods.rs`
| -rw-r--r-- | src/libcore/char/methods.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/char/methods.rs b/src/libcore/char/methods.rs index 722c4c80516..b1f43ef99dd 100644 --- a/src/libcore/char/methods.rs +++ b/src/libcore/char/methods.rs @@ -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()); |
