Rollup merge of #92525 - zohnannor:patch-1, r=camelid
intra-doc: 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:
commit
b2d6ff4b6e
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`],
|
||||
/// created by **Receiver::into_iter**.
|
||||
/// created by [`into_iter`].
|
||||
///
|
||||
/// This iterator will block whenever [`next`]
|
||||
/// is called, waiting for a new message, and [`None`] will be
|
||||
/// returned if the corresponding channel has hung up.
|
||||
///
|
||||
/// [`into_iter`]: Receiver::into_iter
|
||||
/// [`next`]: Iterator::next
|
||||
///
|
||||
/// # Examples
|
||||
|
|
Loading…
Add table
Reference in a new issue