@@ -70,19 +70,6 @@ macro_rules! zip_impl {
7070 self . into_par_iter( ) . for_each( move |( $( $p, ) * ) | function( $( $p) ,* ) )
7171 }
7272
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-
8673 expand_if!( @bool [ $notlast]
8774
8875 /// Map and collect the results into a new array, which has the same size as the
@@ -134,18 +121,6 @@ macro_rules! zip_impl {
134121 }
135122 }
136123
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-
149124 /// Map and assign the results into the producer `into`, which should have the same
150125 /// size as the other inputs.
151126 ///
@@ -162,20 +137,6 @@ macro_rules! zip_impl {
162137 } ) ;
163138 }
164139
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-
179140 /// Parallel version of `fold`.
180141 ///
181142 /// Splits the producer in multiple tasks which each accumulate a single value
0 commit comments