]> git.lizzy.rs Git - rust.git/commitdiff
Fix broken links to std::iter::Iterator::next
authorBryan Tan <techniux@gmail.com>
Sat, 1 Apr 2017 01:51:37 +0000 (18:51 -0700)
committerBryan Tan <techniux@gmail.com>
Sat, 1 Apr 2017 01:51:37 +0000 (18:51 -0700)
src/libstd/sync/mpsc/mod.rs

index fa31c6cedd2e6065917598787435e76bd154dc99..4f3d3422fd21ed293b915c9442817c12b8ef6d50 100644 (file)
@@ -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")]