Skip to content

Commit

Permalink
Merge #692
Browse files Browse the repository at this point in the history
692: Link the iterator traits from top of the docs r=nikomatsakis a=vorner

As they contain the often looked up methods, have them readily
available.

Closes #687.

Co-authored-by: Michal 'vorner' Vaner <vorner@vorner.cz>
  • Loading branch information
bors[bot] and vorner committed Sep 6, 2019
2 parents 60cdb43 + 2904a79 commit 68edcf6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
//! typically the most efficient.
//! - [Parallel iterators][iter module] make it easy to convert a sequential iterator to
//! execute in parallel.
//! - The [`ParallelIterator`] trait defines general methods for all parallel iterators.
//! - The [`IndexedParallelIterator`] trait adds methods for iterators that support random
//! access.
//! - The [`par_sort`] method sorts `&mut [T]` slices (or vectors) in parallel.
//! - [`par_extend`] can be used to efficiently grow collections with items produced
//! by a parallel iterator.
Expand Down Expand Up @@ -55,6 +58,8 @@
//! [`filter`]: iter/trait.ParallelIterator.html#method.filter
//! [`fold`]: iter/trait.ParallelIterator.html#method.fold
//! [more]: iter/trait.ParallelIterator.html#provided-methods
//! [`ParallelIterator`]: iter/trait.ParallelIterator.html
//! [`IndexedParallelIterator`]: iter/trait.IndexedParallelIterator.html
//!
//! # Crate Layout
//!
Expand Down

0 comments on commit 68edcf6

Please sign in to comment.