about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-08-20 04:50:22 +0000
committerbors <bors@rust-lang.org>2017-08-20 04:50:22 +0000
commit498a8f36bfbafa3800698c826f5ae3f8b36a785c (patch)
treece6b89f9d016be0632ab29112bf7663c4acc2585
parente822e4e62f966a1939e352d511e64a0a57308dc3 (diff)
parentaac3008d123379b7489f3ac63dd221a185ae8229 (diff)
downloadrust-498a8f36bfbafa3800698c826f5ae3f8b36a785c.tar.gz
rust-498a8f36bfbafa3800698c826f5ae3f8b36a785c.zip
Auto merge of #43965 - frewsxcv:frewsxcv-filter-map, r=QuietMisdreavus
Minor Iterator::filter_map description rewording.

Fixes https://github.com/rust-lang/rust/issues/39294.
-rw-r--r--src/libcore/iter/iterator.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/iter/iterator.rs b/src/libcore/iter/iterator.rs
index 2472efa14b3..7c009114afe 100644
--- a/src/libcore/iter/iterator.rs
+++ b/src/libcore/iter/iterator.rs
@@ -605,7 +605,7 @@ pub trait Iterator {
     /// closure returns [`None`], it will try again, and call the closure on the
     /// next element, seeing if it will return [`Some`].
     ///
-    /// Why `filter_map` and not just [`filter`].[`map`]? The key is in this
+    /// Why `filter_map` and not just [`filter`] and [`map`]? The key is in this
     /// part:
     ///
     /// [`filter`]: #method.filter