about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2018-02-28 15:09:31 -0800
committerManish Goregaokar <manishsmail@gmail.com>2018-02-28 15:09:31 -0800
commitb2b970769635d2aefcb6fa75d885c541d3a8a132 (patch)
treedeea138e5eaca89ac78992162eae1c37a5cee807
parentf57835b7f4fb64ca1678b615d903cb06591a06c5 (diff)
parentdb6a5ee1aa57ec5f1d41b8a2a8519b7ee7d3598f (diff)
downloadrust-b2b970769635d2aefcb6fa75d885c541d3a8a132.tar.gz
rust-b2b970769635d2aefcb6fa75d885c541d3a8a132.zip
Rollup merge of #48603 - pthariensflame:patch-1, r=frewsxcv
Fixes #47311.
r? @nrc
-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"];