about summary refs log tree commit diff
path: root/src/doc/book/strings.md
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc/book/strings.md')
-rw-r--r--src/doc/book/strings.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/book/strings.md b/src/doc/book/strings.md
index 68c7235975e..5ed1f3de062 100644
--- a/src/doc/book/strings.md
+++ b/src/doc/book/strings.md
@@ -44,7 +44,7 @@ let s = "foo\
 assert_eq!("foobar", s);
 ```
 
-Rust has more than only `&str`s though. A `String`, is a heap-allocated string.
+Rust has more than only `&str`s though. A `String` is a heap-allocated string.
 This string is growable, and is also guaranteed to be UTF-8. `String`s are
 commonly created by converting from a string slice using the `to_string`
 method.
@@ -89,7 +89,7 @@ Viewing a `String` as a `&str` is cheap, but converting the `&str` to a
 
 ## Indexing
 
-Because strings are valid UTF-8, strings do not support indexing:
+Because strings are valid UTF-8, they do not support indexing:
 
 ```rust,ignore
 let s = "hello";