about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2017-03-02 11:29:38 +0100
committerGitHub <noreply@github.com>2017-03-02 11:29:38 +0100
commit216a0ead4432fceaa3d75ff596210a0bdb6e3318 (patch)
tree9d524f75d645a4c934370f11ff0db0207cbf0c4f
parent418a776651f15b2a03a581cfae27cf466ffc8cea (diff)
parent74b6221209fd7ff4a9c1e07d2dd233c6b85b5722 (diff)
downloadrust-216a0ead4432fceaa3d75ff596210a0bdb6e3318.tar.gz
rust-216a0ead4432fceaa3d75ff596210a0bdb6e3318.zip
Rollup merge of #40169 - MajorBreakfast:patch-8, r=steveklabnik
String docs: Add "the"

r? @steveklabnik
-rw-r--r--src/doc/book/src/strings.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/book/src/strings.md b/src/doc/book/src/strings.md
index ac41be11854..ffc9d2b6976 100644
--- a/src/doc/book/src/strings.md
+++ b/src/doc/book/src/strings.md
@@ -145,7 +145,7 @@ This emphasizes that we have to walk from the beginning of the list of `chars`.
 
 ## Slicing
 
-You can get a slice of a string with slicing syntax:
+You can get a slice of a string with the slicing syntax:
 
 ```rust
 let dog = "hachiko";