about summary refs log tree commit diff
path: root/src/doc/trpl
diff options
context:
space:
mode:
authorThiago Carvalho <thiago.carvalho@westwing.de>2015-02-14 16:55:53 +0100
committerThiago Carvalho <thiago.carvalho@westwing.de>2015-02-14 16:55:53 +0100
commitf658efe6c3659fdf1338bea6a05e02acbda1ce14 (patch)
tree342495e4d8bfb6005141884fcfffe21c8cb64a22 /src/doc/trpl
parent29ff00cc97e67ed6aec16aa6c30e152d6065e952 (diff)
downloadrust-f658efe6c3659fdf1338bea6a05e02acbda1ce14.tar.gz
rust-f658efe6c3659fdf1338bea6a05e02acbda1ce14.zip
Documentation Fixes
crates-and-modules - replace ")"
more string - improve readability of grapheme
Diffstat (limited to 'src/doc/trpl')
-rw-r--r--src/doc/trpl/crates-and-modules.md2
-rw-r--r--src/doc/trpl/more-strings.md4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/trpl/crates-and-modules.md b/src/doc/trpl/crates-and-modules.md
index 17b2cf7d0cc..1f5d3eadae3 100644
--- a/src/doc/trpl/crates-and-modules.md
+++ b/src/doc/trpl/crates-and-modules.md
@@ -20,7 +20,7 @@ you to partition your code within the crate itself.
 
 As an example, let's make a *phrases* crate, which will give us various phrases
 in different languages. To keep things simple, we'll stick to "greetings" and
-"farewells" as two kinds of phrases, and use English and Japanese (日本語) as
+"farewells" as two kinds of phrases, and use English and Japanese (日本語) as
 two languages for those phrases to be in. We'll use this module layout:
 
 ```text
diff --git a/src/doc/trpl/more-strings.md b/src/doc/trpl/more-strings.md
index 986ad23c665..df73d14f983 100644
--- a/src/doc/trpl/more-strings.md
+++ b/src/doc/trpl/more-strings.md
@@ -169,8 +169,8 @@ é
 Note that `l` has the type `&str` here, since a single grapheme can consist of
 multiple codepoints, so a `char` wouldn't be appropriate.
 
-This will print out each visible character in turn, as you'd expect: first "u͔", then
-"n͈̰̎", etc. If you wanted each individual codepoint of each grapheme, you can use `.chars()`:
+This will print out each visible character in turn, as you'd expect: first `u͔`, then
+`n͈̰̎`, etc. If you wanted each individual codepoint of each grapheme, you can use `.chars()`:
 
 ```
 let s = "u͔n͈̰̎i̙̮͚̦c͚̉o̼̩̰͗d͔̆̓ͥé";