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
5
6
- #![ cfg_attr( docsrs, doc( cfg( feature = "rayon" ) ) ) ]
7
-
8
6
use super :: collect;
9
7
use rayon:: iter:: plumbing:: { Consumer , ProducerCallback , UnindexedConsumer } ;
10
8
use rayon:: prelude:: * ;
@@ -22,7 +20,6 @@ use crate::IndexSet;
22
20
23
21
type Bucket < T > = crate :: Bucket < T , ( ) > ;
24
22
25
- #[ cfg_attr( docsrs, doc( cfg( feature = "rayon" ) ) ) ]
26
23
impl < T , S > IntoParallelIterator for IndexSet < T , S >
27
24
where
28
25
T : Send ,
37
34
}
38
35
}
39
36
40
- #[ cfg_attr( docsrs, doc( cfg( feature = "rayon" ) ) ) ]
41
37
impl < T > IntoParallelIterator for Box < Slice < T > >
42
38
where
43
39
T : Send ,
@@ -80,7 +76,6 @@ impl<T: Send> IndexedParallelIterator for IntoParIter<T> {
80
76
indexed_parallel_iterator_methods ! ( Bucket :: key) ;
81
77
}
82
78
83
- #[ cfg_attr( docsrs, doc( cfg( feature = "rayon" ) ) ) ]
84
79
impl < ' a , T , S > IntoParallelIterator for & ' a IndexSet < T , S >
85
80
where
86
81
T : Sync ,
95
90
}
96
91
}
97
92
98
- #[ cfg_attr( docsrs, doc( cfg( feature = "rayon" ) ) ) ]
99
93
impl < ' a , T > IntoParallelIterator for & ' a Slice < T >
100
94
where
101
95
T : Sync ,
@@ -144,7 +138,6 @@ impl<T: Sync> IndexedParallelIterator for ParIter<'_, T> {
144
138
indexed_parallel_iterator_methods ! ( Bucket :: key_ref) ;
145
139
}
146
140
147
- #[ cfg_attr( docsrs, doc( cfg( feature = "rayon" ) ) ) ]
148
141
impl < ' a , T , S > ParallelDrainRange < usize > for & ' a mut IndexSet < T , S >
149
142
where
150
143
T : Send ,
@@ -585,7 +578,6 @@ where
585
578
}
586
579
}
587
580
588
- #[ cfg_attr( docsrs, doc( cfg( feature = "rayon" ) ) ) ]
589
581
impl < T , S > FromParallelIterator < T > for IndexSet < T , S >
590
582
where
591
583
T : Eq + Hash + Send ,
@@ -605,7 +597,6 @@ where
605
597
}
606
598
}
607
599
608
- #[ cfg_attr( docsrs, doc( cfg( feature = "rayon" ) ) ) ]
609
600
impl < T , S > ParallelExtend < T > for IndexSet < T , S >
610
601
where
611
602
T : Eq + Hash + Send ,
@@ -621,7 +612,6 @@ where
621
612
}
622
613
}
623
614
624
- #[ cfg_attr( docsrs, doc( cfg( feature = "rayon" ) ) ) ]
625
615
impl < ' a , T : ' a , S > ParallelExtend < & ' a T > for IndexSet < T , S >
626
616
where
627
617
T : Copy + Eq + Hash + Send + Sync ,
0 commit comments