diff options
| author | Bryan Tan <techniux@gmail.com> | 2017-03-31 18:51:37 -0700 |
|---|---|---|
| committer | Bryan Tan <techniux@gmail.com> | 2017-03-31 18:51:37 -0700 |
| commit | ae8ba78e9df9891c4a6ebedf87dfcdafcacc6e68 (patch) | |
| tree | f7bdfd79a42aa4fe50fcc04062022982d32b2479 /src/libstd/sync | |
| parent | 89c35ae76493b6ea2401d2f0271f0f35693b1198 (diff) | |
| download | rust-ae8ba78e9df9891c4a6ebedf87dfcdafcacc6e68.tar.gz rust-ae8ba78e9df9891c4a6ebedf87dfcdafcacc6e68.zip | |
Fix broken links to std::iter::Iterator::next
Diffstat (limited to 'src/libstd/sync')
| -rw-r--r-- | src/libstd/sync/mpsc/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/sync/mpsc/mod.rs b/src/libstd/sync/mpsc/mod.rs index fa31c6cedd2..4f3d3422fd2 100644 --- a/src/libstd/sync/mpsc/mod.rs +++ b/src/libstd/sync/mpsc/mod.rs @@ -337,7 +337,7 @@ impl<T> !Sync for Receiver<T> { } /// [`next`] is called, waiting for a new message, and [`None`] will be returned /// when the corresponding channel has hung up. /// -/// [`next`]: ../../../std/iter/trait.Iterator.html#method.next +/// [`next`]: ../../../std/iter/trait.Iterator.html#tymethod.next /// [`None`]: ../../../std/option/enum.Option.html#variant.None #[stable(feature = "rust1", since = "1.0.0")] #[derive(Debug)] @@ -363,7 +363,7 @@ pub struct TryIter<'a, T: 'a> { /// whenever [`next`] is called, waiting for a new message, and [`None`] will be /// returned when the corresponding channel has hung up. /// -/// [`next`]: ../../../std/iter/trait.Iterator.html#method.next +/// [`next`]: ../../../std/iter/trait.Iterator.html#tymethod.next /// [`None`]: ../../../std/option/enum.Option.html#variant.None /// #[stable(feature = "receiver_into_iter", since = "1.1.0")] |
