about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorTshepang Lekhonkhobe <tshepang@gmail.com>2014-08-24 17:22:10 +0200
committerTshepang Lekhonkhobe <tshepang@gmail.com>2014-08-24 17:22:10 +0200
commit0a3073657fa5c67f923f8390318448bc613e3b21 (patch)
tree36d92aa45189d8ae915a2a4b4c65fb8b70e86c17 /src/libcore
parent5ad7afc2d7e2671000f41a19bed73fef82475e47 (diff)
doc: fix some typos in the Guide
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/str.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/str.rs b/src/libcore/str.rs
index b9d9c060a41..66564b1bf07 100644
--- a/src/libcore/str.rs
+++ b/src/libcore/str.rs
@@ -1507,8 +1507,8 @@ pub trait StrSlice<'a> {
     ///
     /// # Example
     ///
-    /// This example manually iterate through the characters of a
-    /// string; this should normally by done by `.chars()` or
+    /// This example manually iterates through the characters of a
+    /// string; this should normally be done by `.chars()` or
     /// `.char_indices`.
     ///
     /// ```rust