@@ -70,19 +70,6 @@ macro_rules! zip_impl {
70
70
self . into_par_iter( ) . for_each( move |( $( $p, ) * ) | function( $( $p) ,* ) )
71
71
}
72
72
73
- /// The `par_apply` method for `Zip`.
74
- ///
75
- /// This is a shorthand for using `.into_par_iter().for_each()` on
76
- /// `Zip`.
77
- ///
78
- /// Requires crate feature `rayon`.
79
- #[ deprecated( note="Renamed to .par_for_each()" , since="0.15.0" ) ]
80
- pub fn par_apply<F >( self , function: F )
81
- where F : Fn ( $( $p:: Item ) ,* ) + Sync + Send
82
- {
83
- self . into_par_iter( ) . for_each( move |( $( $p, ) * ) | function( $( $p) ,* ) )
84
- }
85
-
86
73
expand_if!( @bool [ $notlast]
87
74
88
75
/// Map and collect the results into a new array, which has the same size as the
@@ -134,18 +121,6 @@ macro_rules! zip_impl {
134
121
}
135
122
}
136
123
137
- /// Map and collect the results into a new array, which has the same size as the
138
- /// inputs.
139
- ///
140
- /// If all inputs are c- or f-order respectively, that is preserved in the output.
141
- #[ deprecated( note="Renamed to .par_map_collect()" , since="0.15.0" ) ]
142
- pub fn par_apply_collect<R >( self , f: impl Fn ( $( $p:: Item , ) * ) -> R + Sync + Send )
143
- -> Array <R , D >
144
- where R : Send
145
- {
146
- self . par_map_collect( f)
147
- }
148
-
149
124
/// Map and assign the results into the producer `into`, which should have the same
150
125
/// size as the other inputs.
151
126
///
@@ -162,20 +137,6 @@ macro_rules! zip_impl {
162
137
} ) ;
163
138
}
164
139
165
- /// Apply and assign the results into the producer `into`, which should have the same
166
- /// size as the other inputs.
167
- ///
168
- /// The producer should have assignable items as dictated by the `AssignElem` trait,
169
- /// for example `&mut R`.
170
- #[ deprecated( note="Renamed to .par_map_assign_into()" , since="0.15.0" ) ]
171
- pub fn par_apply_assign_into<R , Q >( self , into: Q , f: impl Fn ( $( $p:: Item , ) * ) -> R + Sync + Send )
172
- where Q : IntoNdProducer <Dim =D >,
173
- Q :: Item : AssignElem <R > + Send ,
174
- Q :: Output : Send ,
175
- {
176
- self . par_map_assign_into( into, f)
177
- }
178
-
179
140
/// Parallel version of `fold`.
180
141
///
181
142
/// Splits the producer in multiple tasks which each accumulate a single value
0 commit comments