1
Fork 0

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.
This commit is contained in:
bors 2017-08-20 04:50:22 +00:00
commit 498a8f36bf

View file

@ -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