about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-08-24 17:01:06 +0000
committerbors <bors@rust-lang.org>2014-08-24 17:01:06 +0000
commit8d3390e12f2ea087bde0b705e2fd167cd96b84a8 (patch)
tree44910b05b382ce24b476d95d28f71affe45c7839 /src
parent084325f2d9be35550046256eb75a9aab2eebae25 (diff)
parent0a3073657fa5c67f923f8390318448bc613e3b21 (diff)
downloadrust-8d3390e12f2ea087bde0b705e2fd167cd96b84a8.tar.gz
rust-8d3390e12f2ea087bde0b705e2fd167cd96b84a8.zip
auto merge of #16730 : tshepang/rust/typos, r=pcwalton
Diffstat (limited to 'src')
-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