File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
pixi_build_backend_passthrough/src
pixi_command_dispatcher/src Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -275,7 +275,7 @@ fn generate_variant_combinations(
275275 variant_values
276276 . iter ( )
277277 . map ( |( key, _) | key)
278- . zip ( combination. into_iter ( ) )
278+ . zip ( combination)
279279 . map ( |( key, value) | ( key. clone ( ) , value. clone ( ) ) )
280280 . collect ( )
281281 } )
@@ -515,7 +515,7 @@ mod tests {
515515
516516 #[ test]
517517 fn test_is_star_requirement_with_no_version ( ) {
518- let spec = PackageSpecV1 :: Binary ( Box :: new ( BinaryPackageSpecV1 :: default ( ) ) ) ;
518+ let spec = PackageSpecV1 :: Binary ( Box :: default ( ) ) ;
519519
520520 assert ! ( is_star_requirement( & spec) ) ;
521521 }
Original file line number Diff line number Diff line change @@ -338,7 +338,7 @@ fn unique_dev_source_url(dev_source: &pixi_record::DevSourceRecord) -> Url {
338338 pairs. append_pair ( "name" , dev_source. name . as_source ( ) ) ;
339339
340340 for ( key, value) in & dev_source. variants {
341- pairs. append_pair ( & format ! ( "_{}" , key) , & value) ;
341+ pairs. append_pair ( & format ! ( "_{}" , key) , value) ;
342342 }
343343
344344 drop ( pairs) ;
Original file line number Diff line number Diff line change @@ -303,9 +303,9 @@ impl PixiEnvironmentSpec {
303303
304304 /// Returns an iterator over all dependencies from dev source records,
305305 /// excluding packages that are themselves dev sources.
306- fn dev_source_dependencies < ' a > (
307- dev_source_records : & ' a [ pixi_record:: DevSourceRecord ] ,
308- ) -> impl Iterator < Item = ( rattler_conda_types:: PackageName , PixiSpec ) > + ' a {
306+ fn dev_source_dependencies (
307+ dev_source_records : & [ pixi_record:: DevSourceRecord ] ,
308+ ) -> impl Iterator < Item = ( rattler_conda_types:: PackageName , PixiSpec ) > + ' _ {
309309 use std:: collections:: HashSet ;
310310
311311 // Collect all dev source package names to filter them out
You can’t perform that action at this time.
0 commit comments