22//!
33//! You will rarely need to interact with this module directly unless you need to name one of the
44//! iterator types.
5- //!
6- //! Requires crate feature `"rayon"`
75
86use super :: collect;
97use rayon:: iter:: plumbing:: { Consumer , ProducerCallback , UnindexedConsumer } ;
@@ -21,7 +19,6 @@ use crate::Bucket;
2119use crate :: Entries ;
2220use crate :: IndexMap ;
2321
24- /// Requires crate feature `"rayon"`.
2522impl < K , V , S > IntoParallelIterator for IndexMap < K , V , S >
2623where
2724 K : Send ,
3734 }
3835}
3936
40- /// Requires crate feature `"rayon"`.
4137impl < K , V > IntoParallelIterator for Box < Slice < K , V > >
4238where
4339 K : Send ,
@@ -81,7 +77,6 @@ impl<K: Send, V: Send> IndexedParallelIterator for IntoParIter<K, V> {
8177 indexed_parallel_iterator_methods ! ( Bucket :: key_value) ;
8278}
8379
84- /// Requires crate feature `"rayon"`.
8580impl < ' a , K , V , S > IntoParallelIterator for & ' a IndexMap < K , V , S >
8681where
8782 K : Sync ,
9792 }
9893}
9994
100- /// Requires crate feature `"rayon"`.
10195impl < ' a , K , V > IntoParallelIterator for & ' a Slice < K , V >
10296where
10397 K : Sync ,
@@ -147,7 +141,6 @@ impl<K: Sync, V: Sync> IndexedParallelIterator for ParIter<'_, K, V> {
147141 indexed_parallel_iterator_methods ! ( Bucket :: refs) ;
148142}
149143
150- /// Requires crate feature `"rayon"`.
151144impl < ' a , K , V , S > IntoParallelIterator for & ' a mut IndexMap < K , V , S >
152145where
153146 K : Sync + Send ,
@@ -163,7 +156,6 @@ where
163156 }
164157}
165158
166- /// Requires crate feature `"rayon"`.
167159impl < ' a , K , V > IntoParallelIterator for & ' a mut Slice < K , V >
168160where
169161 K : Sync + Send ,
@@ -207,7 +199,6 @@ impl<K: Sync + Send, V: Send> IndexedParallelIterator for ParIterMut<'_, K, V> {
207199 indexed_parallel_iterator_methods ! ( Bucket :: ref_mut) ;
208200}
209201
210- /// Requires crate feature `"rayon"`.
211202impl < ' a , K , V , S > ParallelDrainRange < usize > for & ' a mut IndexMap < K , V , S >
212203where
213204 K : Send ,
@@ -395,7 +386,6 @@ impl<K: Sync, V: Sync> IndexedParallelIterator for ParValues<'_, K, V> {
395386 indexed_parallel_iterator_methods ! ( Bucket :: value_ref) ;
396387}
397388
398- /// Requires crate feature `"rayon"`.
399389impl < K , V , S > IndexMap < K , V , S >
400390where
401391 K : Send ,
@@ -412,7 +402,6 @@ where
412402 }
413403}
414404
415- /// Requires crate feature `"rayon"`.
416405impl < K , V > Slice < K , V >
417406where
418407 K : Send ,
@@ -546,7 +535,6 @@ impl<K: Send, V: Send> IndexedParallelIterator for ParValuesMut<'_, K, V> {
546535 indexed_parallel_iterator_methods ! ( Bucket :: value_mut) ;
547536}
548537
549- /// Requires crate feature `"rayon"`.
550538impl < K , V , S > FromParallelIterator < ( K , V ) > for IndexMap < K , V , S >
551539where
552540 K : Eq + Hash + Send ,
@@ -567,7 +555,6 @@ where
567555 }
568556}
569557
570- /// Requires crate feature `"rayon"`.
571558impl < K , V , S > ParallelExtend < ( K , V ) > for IndexMap < K , V , S >
572559where
573560 K : Eq + Hash + Send ,
@@ -584,7 +571,6 @@ where
584571 }
585572}
586573
587- /// Requires crate feature `"rayon"`.
588574impl < ' a , K : ' a , V : ' a , S > ParallelExtend < ( & ' a K , & ' a V ) > for IndexMap < K , V , S >
589575where
590576 K : Copy + Eq + Hash + Send + Sync ,
0 commit comments