about summary refs log tree commit diff
path: root/src/libstd/sync
diff options
context:
space:
mode:
authorBryan Tan <techniux@gmail.com>2017-03-31 18:51:37 -0700
committerBryan Tan <techniux@gmail.com>2017-03-31 18:51:37 -0700
commitae8ba78e9df9891c4a6ebedf87dfcdafcacc6e68 (patch)
treef7bdfd79a42aa4fe50fcc04062022982d32b2479 /src/libstd/sync
parent89c35ae76493b6ea2401d2f0271f0f35693b1198 (diff)
downloadrust-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.rs4
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")]