2
2
//!
3
3
//! You will rarely need to interact with this module directly unless you need to name one of the
4
4
//! iterator types.
5
- //!
6
- //! Requires crate feature `"rayon"`
7
5
8
6
use super :: collect;
9
7
use rayon:: iter:: plumbing:: { Consumer , ProducerCallback , UnindexedConsumer } ;
@@ -21,7 +19,6 @@ use crate::Bucket;
21
19
use crate :: Entries ;
22
20
use crate :: IndexMap ;
23
21
24
- /// Requires crate feature `"rayon"`.
25
22
impl < K , V , S > IntoParallelIterator for IndexMap < K , V , S >
26
23
where
27
24
K : Send ,
37
34
}
38
35
}
39
36
40
- /// Requires crate feature `"rayon"`.
41
37
impl < K , V > IntoParallelIterator for Box < Slice < K , V > >
42
38
where
43
39
K : Send ,
@@ -81,7 +77,6 @@ impl<K: Send, V: Send> IndexedParallelIterator for IntoParIter<K, V> {
81
77
indexed_parallel_iterator_methods ! ( Bucket :: key_value) ;
82
78
}
83
79
84
- /// Requires crate feature `"rayon"`.
85
80
impl < ' a , K , V , S > IntoParallelIterator for & ' a IndexMap < K , V , S >
86
81
where
87
82
K : Sync ,
97
92
}
98
93
}
99
94
100
- /// Requires crate feature `"rayon"`.
101
95
impl < ' a , K , V > IntoParallelIterator for & ' a Slice < K , V >
102
96
where
103
97
K : Sync ,
@@ -147,7 +141,6 @@ impl<K: Sync, V: Sync> IndexedParallelIterator for ParIter<'_, K, V> {
147
141
indexed_parallel_iterator_methods ! ( Bucket :: refs) ;
148
142
}
149
143
150
- /// Requires crate feature `"rayon"`.
151
144
impl < ' a , K , V , S > IntoParallelIterator for & ' a mut IndexMap < K , V , S >
152
145
where
153
146
K : Sync + Send ,
@@ -163,7 +156,6 @@ where
163
156
}
164
157
}
165
158
166
- /// Requires crate feature `"rayon"`.
167
159
impl < ' a , K , V > IntoParallelIterator for & ' a mut Slice < K , V >
168
160
where
169
161
K : Sync + Send ,
@@ -207,7 +199,6 @@ impl<K: Sync + Send, V: Send> IndexedParallelIterator for ParIterMut<'_, K, V> {
207
199
indexed_parallel_iterator_methods ! ( Bucket :: ref_mut) ;
208
200
}
209
201
210
- /// Requires crate feature `"rayon"`.
211
202
impl < ' a , K , V , S > ParallelDrainRange < usize > for & ' a mut IndexMap < K , V , S >
212
203
where
213
204
K : Send ,
@@ -395,7 +386,6 @@ impl<K: Sync, V: Sync> IndexedParallelIterator for ParValues<'_, K, V> {
395
386
indexed_parallel_iterator_methods ! ( Bucket :: value_ref) ;
396
387
}
397
388
398
- /// Requires crate feature `"rayon"`.
399
389
impl < K , V , S > IndexMap < K , V , S >
400
390
where
401
391
K : Send ,
@@ -412,7 +402,6 @@ where
412
402
}
413
403
}
414
404
415
- /// Requires crate feature `"rayon"`.
416
405
impl < K , V > Slice < K , V >
417
406
where
418
407
K : Send ,
@@ -546,7 +535,6 @@ impl<K: Send, V: Send> IndexedParallelIterator for ParValuesMut<'_, K, V> {
546
535
indexed_parallel_iterator_methods ! ( Bucket :: value_mut) ;
547
536
}
548
537
549
- /// Requires crate feature `"rayon"`.
550
538
impl < K , V , S > FromParallelIterator < ( K , V ) > for IndexMap < K , V , S >
551
539
where
552
540
K : Eq + Hash + Send ,
@@ -567,7 +555,6 @@ where
567
555
}
568
556
}
569
557
570
- /// Requires crate feature `"rayon"`.
571
558
impl < K , V , S > ParallelExtend < ( K , V ) > for IndexMap < K , V , S >
572
559
where
573
560
K : Eq + Hash + Send ,
@@ -584,7 +571,6 @@ where
584
571
}
585
572
}
586
573
587
- /// Requires crate feature `"rayon"`.
588
574
impl < ' a , K : ' a , V : ' a , S > ParallelExtend < ( & ' a K , & ' a V ) > for IndexMap < K , V , S >
589
575
where
590
576
K : Copy + Eq + Hash + Send + Sync ,
0 commit comments