@@ -620,8 +620,7 @@ impl SortedBuildIterator {
620620 // names should be added to the configuration
621621 // BUILD_KEY_NAME_ORDER to ensure they fall in the correct
622622 // position for a site's spk setup.
623- let mut ordered_names = key_entry_names. clone ( ) ;
624- BUILD_KEY_NAME_ORDER . promote_names ( ordered_names. as_mut_slice ( ) , |n| n) ;
623+ BUILD_KEY_NAME_ORDER . promote_names ( key_entry_names. as_mut_slice ( ) , |n| n) ;
625624
626625 // Sort the builds by their generated keys generated from the
627626 // ordered names and values worth including.
@@ -630,7 +629,7 @@ impl SortedBuildIterator {
630629 let spec = & hm. iter ( ) . next ( ) . expect ( "non-empty hashmap" ) . 1 . 0 ;
631630 SortedBuildIterator :: make_option_values_build_key (
632631 spec,
633- & ordered_names ,
632+ & key_entry_names ,
634633 & build_name_values,
635634 builds_with_impossible_requests. contains_key ( & spec. ident ( ) . clone ( ) ) ,
636635 )
@@ -652,7 +651,7 @@ impl SortedBuildIterator {
652651 tracing:: debug!(
653652 target: BUILD_SORT_TARGET ,
654653 "Keys by build option values: built from: [{}]" ,
655- ordered_names
654+ key_entry_names
656655 . iter( )
657656 . map( |n| n. as_str( ) )
658657 . collect:: <Vec <_>>( )
@@ -670,7 +669,7 @@ impl SortedBuildIterator {
670669 spec. ident( ) ,
671670 SortedBuildIterator :: make_option_values_build_key(
672671 spec,
673- & ordered_names ,
672+ & key_entry_names ,
674673 & build_name_values,
675674 builds_with_impossible_requests. contains_key( & spec. ident( ) . clone( ) ) ,
676675 ) ,
0 commit comments