8282use self :: plumbing:: * ;
8383use self :: private:: Try ;
8484pub use either:: Either ;
85- use std:: cmp:: { self , Ordering } ;
85+ use std:: cmp:: Ordering ;
8686use std:: collections:: LinkedList ;
8787use std:: iter:: { Product , Sum } ;
8888use std:: ops:: { Fn , RangeBounds } ;
@@ -1432,7 +1432,7 @@ pub trait ParallelIterator: Sized + Send {
14321432 /// specified, so if the `Ord` impl is not truly associative, then
14331433 /// the results are not deterministic.
14341434 ///
1435- /// Basically equivalent to `self.reduce_with(|a, b| cmp ::min(a, b))`.
1435+ /// Basically equivalent to `self.reduce_with(|a, b| Ord ::min(a, b))`.
14361436 ///
14371437 /// # Examples
14381438 ///
@@ -1451,7 +1451,7 @@ pub trait ParallelIterator: Sized + Send {
14511451 where
14521452 Self :: Item : Ord ,
14531453 {
1454- self . reduce_with ( cmp :: min)
1454+ self . reduce_with ( Ord :: min)
14551455 }
14561456
14571457 /// Computes the minimum of all the items in the iterator with respect to
@@ -1530,7 +1530,7 @@ pub trait ParallelIterator: Sized + Send {
15301530 /// specified, so if the `Ord` impl is not truly associative, then
15311531 /// the results are not deterministic.
15321532 ///
1533- /// Basically equivalent to `self.reduce_with(|a, b| cmp ::max(a, b))`.
1533+ /// Basically equivalent to `self.reduce_with(|a, b| Ord ::max(a, b))`.
15341534 ///
15351535 /// # Examples
15361536 ///
@@ -1549,7 +1549,7 @@ pub trait ParallelIterator: Sized + Send {
15491549 where
15501550 Self :: Item : Ord ,
15511551 {
1552- self . reduce_with ( cmp :: max)
1552+ self . reduce_with ( Ord :: max)
15531553 }
15541554
15551555 /// Computes the maximum of all the items in the iterator with respect to
0 commit comments