Simplify iter flatten struct doc

This commit is contained in:
Ivan Tham 2020-09-14 21:08:08 +08:00 committed by GitHub
parent 57c5f40cf4
commit b88155160c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,8 +7,8 @@ use super::Map;
/// An iterator that maps each element to an iterator, and yields the elements
/// of the produced iterators.
///
/// This `struct` is created by the [`flat_map`] method on [`Iterator`]. See its
/// documentation for more.
/// This `struct` is created by [`Iterator::flat_map`]. See its documentation
/// for more.
///
/// [`flat_map`]: trait.Iterator.html#method.flat_map
/// [`Iterator`]: trait.Iterator.html