Skip to content

Commit b3e6600

Browse files
committed
Link the iterator traits from top of the docs
As they contain the often looked up methods, have them readily available. Closes rayon-rs#687.
1 parent 60cdb43 commit b3e6600

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
//! typically the most efficient.
1919
//! - [Parallel iterators][iter module] make it easy to convert a sequential iterator to
2020
//! execute in parallel.
21+
//! - The [`ParallelIterator`] trait defines general methods for for all parallel iterators.
22+
//! - The [`IndexedParallelIterator`] trait adds methods for iterators that support random
23+
//! access.
2124
//! - The [`par_sort`] method sorts `&mut [T]` slices (or vectors) in parallel.
2225
//! - [`par_extend`] can be used to efficiently grow collections with items produced
2326
//! by a parallel iterator.
@@ -55,6 +58,8 @@
5558
//! [`filter`]: iter/trait.ParallelIterator.html#method.filter
5659
//! [`fold`]: iter/trait.ParallelIterator.html#method.fold
5760
//! [more]: iter/trait.ParallelIterator.html#provided-methods
61+
//! [`ParallelIterator`]: iter/trait.ParallelIterator.html
62+
//! [`IndexedParallelIterator`]: iter/trait.IndexedParallelIterator.html
5863
//!
5964
//! # Crate Layout
6065
//!

0 commit comments

Comments
 (0)