Skip to content

Commit f45eee8

Browse files
bors[bot]fzyzcjy
andauthored
Merge #898
898: Fix dead link (renamed function) r=cuviper a=fzyzcjy Co-authored-by: fzyzcjy <[email protected]>
2 parents 2991c04 + 1461a5b commit f45eee8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/iter/len.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ use super::*;
33
use std::cmp;
44

55
/// `MinLen` is an iterator that imposes a minimum length on iterator splits.
6-
/// This struct is created by the [`min_len()`] method on [`IndexedParallelIterator`]
6+
/// This struct is created by the [`with_min_len()`] method on [`IndexedParallelIterator`]
77
///
8-
/// [`min_len()`]: trait.IndexedParallelIterator.html#method.min_len
8+
/// [`with_min_len()`]: trait.IndexedParallelIterator.html#method.with_min_len
99
/// [`IndexedParallelIterator`]: trait.IndexedParallelIterator.html
1010
#[must_use = "iterator adaptors are lazy and do nothing unless consumed"]
1111
#[derive(Debug, Clone)]
@@ -137,9 +137,9 @@ where
137137
}
138138

139139
/// `MaxLen` is an iterator that imposes a maximum length on iterator splits.
140-
/// This struct is created by the [`max_len()`] method on [`IndexedParallelIterator`]
140+
/// This struct is created by the [`with_max_len()`] method on [`IndexedParallelIterator`]
141141
///
142-
/// [`max_len()`]: trait.IndexedParallelIterator.html#method.max_len
142+
/// [`with_max_len()`]: trait.IndexedParallelIterator.html#method.with_max_len
143143
/// [`IndexedParallelIterator`]: trait.IndexedParallelIterator.html
144144
#[must_use = "iterator adaptors are lazy and do nothing unless consumed"]
145145
#[derive(Debug, Clone)]

0 commit comments

Comments
 (0)