Make Receiver::into_iter
into a clickable link
The documentation on `std::sync::mpsc::Iter` and `std::sync::mpsc::TryIter` provides links to the corresponding `Receiver` methods, unlike `std::sync::mpsc::IntoIter` does.
This was left out in c59b188aae
Related to #29377
This commit is contained in:
parent
b5efe5727f
commit
ca3f9048a1
1 changed files with 2 additions and 1 deletions
|
@ -429,12 +429,13 @@ pub struct TryIter<'a, T: 'a> {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// An owning iterator over messages on a [`Receiver`],
|
/// An owning iterator over messages on a [`Receiver`],
|
||||||
/// created by **Receiver::into_iter**.
|
/// created by [`into_iter`].
|
||||||
///
|
///
|
||||||
/// This iterator will block whenever [`next`]
|
/// This iterator will block whenever [`next`]
|
||||||
/// is called, waiting for a new message, and [`None`] will be
|
/// is called, waiting for a new message, and [`None`] will be
|
||||||
/// returned if the corresponding channel has hung up.
|
/// returned if the corresponding channel has hung up.
|
||||||
///
|
///
|
||||||
|
/// [`into_iter`]: Receiver::into_iter
|
||||||
/// [`next`]: Iterator::next
|
/// [`next`]: Iterator::next
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue