Rollup merge of #76707 - pickfire:patch-4, r=jonas-schievink
Simplify iter flatten struct doc
This commit is contained in:
commit
9524fffce3
1 changed files with 2 additions and 5 deletions
|
@ -7,11 +7,8 @@ use super::Map;
|
||||||
/// An iterator that maps each element to an iterator, and yields the elements
|
/// An iterator that maps each element to an iterator, and yields the elements
|
||||||
/// of the produced iterators.
|
/// of the produced iterators.
|
||||||
///
|
///
|
||||||
/// This `struct` is created by the [`flat_map`] method on [`Iterator`]. See its
|
/// This `struct` is created by [`Iterator::flat_map`]. See its documentation
|
||||||
/// documentation for more.
|
/// for more.
|
||||||
///
|
|
||||||
/// [`flat_map`]: trait.Iterator.html#method.flat_map
|
|
||||||
/// [`Iterator`]: trait.Iterator.html
|
|
||||||
#[must_use = "iterators are lazy and do nothing unless consumed"]
|
#[must_use = "iterators are lazy and do nothing unless consumed"]
|
||||||
#[stable(feature = "rust1", since = "1.0.0")]
|
#[stable(feature = "rust1", since = "1.0.0")]
|
||||||
pub struct FlatMap<I, U: IntoIterator, F> {
|
pub struct FlatMap<I, U: IntoIterator, F> {
|
||||||
|
|
Loading…
Add table
Reference in a new issue