Skip to content

Commit ca3f904

Browse files
authored
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 c59b188 Related to #29377
1 parent b5efe57 commit ca3f904

File tree

1 file changed

+2
-1
lines changed
  • library/std/src/sync/mpsc

1 file changed

+2
-1
lines changed

library/std/src/sync/mpsc/mod.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -429,12 +429,13 @@ pub struct TryIter<'a, T: 'a> {
429429
}
430430

431431
/// An owning iterator over messages on a [`Receiver`],
432-
/// created by **Receiver::into_iter**.
432+
/// created by [`into_iter`].
433433
///
434434
/// This iterator will block whenever [`next`]
435435
/// is called, waiting for a new message, and [`None`] will be
436436
/// returned if the corresponding channel has hung up.
437437
///
438+
/// [`into_iter`]: Receiver::into_iter
438439
/// [`next`]: Iterator::next
439440
///
440441
/// # Examples

0 commit comments

Comments
 (0)