Skip to content

Commit f37fc75

Browse files
committedJan 14, 2018
Merge #506
506: `take` is a function on IndexedParallelIterator r=cuviper a=phimuemue So, I updated the links to the proper positions.
2 parents 21dad73 + eff9e8f commit f37fc75

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed
 

‎src/iter/enumerate.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ use std::ops::Range;
55
use std::usize;
66

77
/// `Enumerate` is an iterator that returns the current count along with the element.
8-
/// This struct is created by the [`enumerate()`] method on [`ParallelIterator`]
8+
/// This struct is created by the [`enumerate()`] method on [`IndexedParallelIterator`]
99
///
10-
/// [`enumerate()`]: trait.ParallelIterator.html#method.enumerate
11-
/// [`ParallelIterator`]: trait.ParallelIterator.html
10+
/// [`enumerate()`]: trait.IndexedParallelIterator.html#method.enumerate
11+
/// [`IndexedParallelIterator`]: trait.IndexedParallelIterator.html
1212
#[must_use = "iterator adaptors are lazy and do nothing unless consumed"]
1313
#[derive(Debug, Clone)]
1414
pub struct Enumerate<I: IndexedParallelIterator> {

‎src/iter/skip.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ use super::noop::NoopConsumer;
44
use std::cmp::min;
55

66
/// `Skip` is an iterator that skips over the first `n` elements.
7-
/// This struct is created by the [`skip()`] method on [`ParallelIterator`]
7+
/// This struct is created by the [`skip()`] method on [`IndexedParallelIterator`]
88
///
9-
/// [`skip()`]: trait.ParallelIterator.html#method.skip
10-
/// [`ParallelIterator`]: trait.ParallelIterator.html
9+
/// [`skip()`]: trait.IndexedParallelIterator.html#method.skip
10+
/// [`IndexedParallelIterator`]: trait.IndexedParallelIterator.html
1111
#[must_use = "iterator adaptors are lazy and do nothing unless consumed"]
1212
#[derive(Debug, Clone)]
1313
pub struct Skip<I> {

‎src/iter/take.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ use super::*;
33
use std::cmp::min;
44

55
/// `Take` is an iterator that iterates over the first `n` elements.
6-
/// This struct is created by the [`take()`] method on [`ParallelIterator`]
6+
/// This struct is created by the [`take()`] method on [`IndexedParallelIterator`]
77
///
8-
/// [`take()`]: trait.ParallelIterator.html#method.take
9-
/// [`ParallelIterator`]: trait.ParallelIterator.html
8+
/// [`take()`]: trait.IndexedParallelIterator.html#method.take
9+
/// [`IndexedParallelIterator`]: trait.IndexedParallelIterator.html
1010
#[must_use = "iterator adaptors are lazy and do nothing unless consumed"]
1111
#[derive(Debug, Clone)]
1212
pub struct Take<I> {

0 commit comments

Comments
 (0)