diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-01-04 16:34:19 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-04 16:34:19 +0100 |
| commit | b2d6ff4b6eed1091e38186767523f19fbaa00a72 (patch) | |
| tree | 9188a8af81683a1e2f9c1a75c0f50cbbbf98abc6 /library/std/src | |
| parent | 25fcc0ef8c4a3b7a8dbfefdb3b198c09cee9f1c4 (diff) | |
| parent | ca3f9048a16fd817d1252f7f33a92b3a52252975 (diff) | |
| download | rust-b2d6ff4b6eed1091e38186767523f19fbaa00a72.tar.gz rust-b2d6ff4b6eed1091e38186767523f19fbaa00a72.zip | |
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
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/sync/mpsc/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/library/std/src/sync/mpsc/mod.rs b/library/std/src/sync/mpsc/mod.rs index 2cf678ef69b..2e54321e127 100644 --- a/library/std/src/sync/mpsc/mod.rs +++ b/library/std/src/sync/mpsc/mod.rs @@ -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 |
