diff --git a/rayon-core/src/thread_pool/mod.rs b/rayon-core/src/thread_pool/mod.rs index 5ae6e0f60..ed9aea84c 100644 --- a/rayon-core/src/thread_pool/mod.rs +++ b/rayon-core/src/thread_pool/mod.rs @@ -1,4 +1,4 @@ -//! Contains support for user-managed thread pools, represented by the +//! Contains support for user-managed thread-pools, represented by the //! the [`ThreadPool`] type (see that struct for details). //! //! [`ThreadPool`]: struct.ThreadPool.html @@ -17,7 +17,7 @@ use std::sync::Arc; mod test; -/// Represents a user created [thread-pool]. +/// Represents a user-created [thread-pool]. /// /// Use a [`ThreadPoolBuilder`] to specify the number and/or names of threads /// in the pool. After calling [`ThreadPoolBuilder::build()`], you can then diff --git a/src/iter/mod.rs b/src/iter/mod.rs index c7e3a0d99..c5226114e 100644 --- a/src/iter/mod.rs +++ b/src/iter/mod.rs @@ -2895,7 +2895,7 @@ pub trait IndexedParallelIterator: ParallelIterator { } /// Determines if the elements of this `ParallelIterator` - /// are less or equal to those of another. + /// are less than or equal to those of another. fn le(self, other: I) -> bool where I: IntoParallelIterator, @@ -2918,7 +2918,7 @@ pub trait IndexedParallelIterator: ParallelIterator { } /// Determines if the elements of this `ParallelIterator` - /// are less or equal to those of another. + /// are less than or equal to those of another. fn ge(self, other: I) -> bool where I: IntoParallelIterator,