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 c59b188aaeadea32625534250d1f5120420be000 Related to #29377
This commit is contained in:
commit
b2d6ff4b6e
@ -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…
x
Reference in New Issue
Block a user