Skip to content

Commit 9524fff

Browse files
authored
Rollup merge of #76707 - pickfire:patch-4, r=jonas-schievink
Simplify iter flatten struct doc
2 parents 3f9e7fc + 5112f87 commit 9524fff

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

library/core/src/iter/adapters/flatten.rs

+2-5
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,8 @@ use super::Map;
77
/// An iterator that maps each element to an iterator, and yields the elements
88
/// of the produced iterators.
99
///
10-
/// This `struct` is created by the [`flat_map`] method on [`Iterator`]. See its
11-
/// documentation for more.
12-
///
13-
/// [`flat_map`]: trait.Iterator.html#method.flat_map
14-
/// [`Iterator`]: trait.Iterator.html
10+
/// This `struct` is created by [`Iterator::flat_map`]. See its documentation
11+
/// for more.
1512
#[must_use = "iterators are lazy and do nothing unless consumed"]
1613
#[stable(feature = "rust1", since = "1.0.0")]
1714
pub struct FlatMap<I, U: IntoIterator, F> {

0 commit comments

Comments
 (0)