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:
commit
498a8f36bf
1 changed files with 1 additions and 1 deletions
|
@ -605,7 +605,7 @@ pub trait Iterator {
|
||||||
/// closure returns [`None`], it will try again, and call the closure on the
|
/// closure returns [`None`], it will try again, and call the closure on the
|
||||||
/// next element, seeing if it will return [`Some`].
|
/// 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:
|
/// part:
|
||||||
///
|
///
|
||||||
/// [`filter`]: #method.filter
|
/// [`filter`]: #method.filter
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue