Skip to content

Commit 69f43dd

Browse files
committed
Intra-doc for DoubleEndIterator
1 parent 53a1d6f commit 69f43dd

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/libcore/iter/traits/double_ended.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,7 @@ pub trait DoubleEndedIterator: Iterator {
106106
/// `nth_back()` will return [`None`] if `n` is greater than or equal to the length of the
107107
/// iterator.
108108
///
109-
/// [`None`]: ../../std/option/enum.Option.html#variant.None
110-
/// [`nth`]: ../../std/iter/trait.Iterator.html#method.nth
109+
/// [`nth`]: crate::iter::Iterator::nth
111110
///
112111
/// # Examples
113112
///
@@ -274,8 +273,7 @@ pub trait DoubleEndedIterator: Iterator {
274273
/// argument is a double reference. You can see this effect in the
275274
/// examples below, with `&&x`.
276275
///
277-
/// [`Some(element)`]: ../../std/option/enum.Option.html#variant.Some
278-
/// [`None`]: ../../std/option/enum.Option.html#variant.None
276+
/// [`Some(element)`]: Some
279277
///
280278
/// # Examples
281279
///

0 commit comments

Comments
 (0)