Skip to content

Commit ae8ba78

Browse files
committed
Fix broken links to std::iter::Iterator::next
1 parent 89c35ae commit ae8ba78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/sync/mpsc/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ impl<T> !Sync for Receiver<T> { }
337337
/// [`next`] is called, waiting for a new message, and [`None`] will be returned
338338
/// when the corresponding channel has hung up.
339339
///
340-
/// [`next`]: ../../../std/iter/trait.Iterator.html#method.next
340+
/// [`next`]: ../../../std/iter/trait.Iterator.html#tymethod.next
341341
/// [`None`]: ../../../std/option/enum.Option.html#variant.None
342342
#[stable(feature = "rust1", since = "1.0.0")]
343343
#[derive(Debug)]
@@ -363,7 +363,7 @@ pub struct TryIter<'a, T: 'a> {
363363
/// whenever [`next`] is called, waiting for a new message, and [`None`] will be
364364
/// returned when the corresponding channel has hung up.
365365
///
366-
/// [`next`]: ../../../std/iter/trait.Iterator.html#method.next
366+
/// [`next`]: ../../../std/iter/trait.Iterator.html#tymethod.next
367367
/// [`None`]: ../../../std/option/enum.Option.html#variant.None
368368
///
369369
#[stable(feature = "receiver_into_iter", since = "1.1.0")]

0 commit comments

Comments
 (0)