Fix doc links in core::iter::sources

This commit is contained in:
Waffle 2020-10-08 14:02:28 +03:00
parent b82a76ae3a
commit 0dc187c787
4 changed files with 5 additions and 0 deletions

View File

@ -15,6 +15,7 @@ use crate::fmt;
/// how the iterator is used, this may require specifying the [`move`] keyword on the closure.
///
/// [`move`]: ../../std/keyword.move.html
/// [`FusedIterator`]: crate::iter::FusedIterator
///
/// # Examples
///

View File

@ -11,6 +11,7 @@ use crate::iter::{FusedIterator, TrustedLen};
/// Unlike [`once()`], this function will lazily generate the value on request.
///
/// [`chain()`]: Iterator::chain
/// [`once()`]: crate::iter::once
///
/// # Examples
///

View File

@ -11,6 +11,8 @@ use crate::iter::{FusedIterator, TrustedLen};
/// or if you do not want to keep the repeated element in memory, you can
/// instead use the [`repeat_with()`] function.
///
/// [`repeat_with()`]: crate::iter::repeat_with
///
/// # Examples
///
/// Basic usage:

View File

@ -16,6 +16,7 @@ use crate::iter::{FusedIterator, TrustedLen};
/// If you need `repeat_with()` to return a [`DoubleEndedIterator`],
/// please open a GitHub issue explaining your use case.
///
/// [`repeat()`]: crate::iter::repeat
/// [`DoubleEndedIterator`]: crate::iter::DoubleEndedIterator
///
/// # Examples