about summary refs log tree commit diff
path: root/src/libcore/iter/iterator.rs
diff options
context:
space:
mode:
authorAlexander Ronald Altman <alexanderaltman@me.com>2018-02-27 23:57:47 -0600
committerAlexander Ronald Altman <alexanderaltman@me.com>2018-02-28 00:04:05 -0600
commitdb6a5ee1aa57ec5f1d41b8a2a8519b7ee7d3598f (patch)
tree5b5f97f7a3e667bfc73998e92f1b36a58ea0d80e /src/libcore/iter/iterator.rs
parentaffe297c133a781c75c2494695e847354ae09156 (diff)
downloadrust-db6a5ee1aa57ec5f1d41b8a2a8519b7ee7d3598f.tar.gz
rust-db6a5ee1aa57ec5f1d41b8a2a8519b7ee7d3598f.zip
Minor grammatical/style fix in docs.
Diffstat (limited to 'src/libcore/iter/iterator.rs')
-rw-r--r--src/libcore/iter/iterator.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/iter/iterator.rs b/src/libcore/iter/iterator.rs
index 9d8a71250f8..b06534c9c1e 100644
--- a/src/libcore/iter/iterator.rs
+++ b/src/libcore/iter/iterator.rs
@@ -1062,8 +1062,8 @@ pub trait Iterator {
     /// assert_eq!(merged, "alphabetagamma");
     /// ```
     ///
-    /// You can also rewrite this in terms of [`flat_map()`] which is preferable
-    /// in this case since that conveys intent clearer:
+    /// You can also rewrite this in terms of [`flat_map()`], which is preferable
+    /// in this case since it conveys intent more clearly:
     ///
     /// ```
     /// let words = ["alpha", "beta", "gamma"];