diff options
| author | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2016-03-23 17:59:16 +0200 |
|---|---|---|
| committer | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2016-03-23 17:59:16 +0200 |
| commit | 7f2612e66ce8dd77329fa0983a3a01bcac129368 (patch) | |
| tree | f10f384a63802d5885fedc0302845bb35b68c569 /src/libstd | |
| parent | 3fd144db0d4b8cf0609c48031c9caaa9d5cb3f1e (diff) | |
| parent | 7d626e9f55f0503a5e0324a4172f80d3281d6ae0 (diff) | |
| download | rust-7f2612e66ce8dd77329fa0983a3a01bcac129368.tar.gz rust-7f2612e66ce8dd77329fa0983a3a01bcac129368.zip | |
Rollup merge of #32441 - tshepang:doc-primitive, r=steveklabnik
doc: small char improvements
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/primitive_docs.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/primitive_docs.rs b/src/libstd/primitive_docs.rs index 65ed879c4ad..c8ea28c5ca3 100644 --- a/src/libstd/primitive_docs.rs +++ b/src/libstd/primitive_docs.rs @@ -77,7 +77,7 @@ mod prim_bool { } /// # Representation /// /// `char` is always four bytes in size. This is a different representation than -/// a given character would have as part of a [`String`], for example: +/// a given character would have as part of a [`String`]. For example: /// /// ``` /// let v = vec!['h', 'e', 'l', 'l', 'o']; @@ -116,8 +116,8 @@ mod prim_bool { } /// ^~ /// ``` /// -/// Another implication of the 4-byte fixed size of a `char`, is that -/// per-`char`acter processing can end up using a lot more memory: +/// Another implication of the 4-byte fixed size of a `char` is that +/// per-`char` processing can end up using a lot more memory: /// /// ``` /// let s = String::from("love: ❤️"); |
