File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -560,22 +560,17 @@ fn run(cli: Cli) -> ExitCode {
560560 ) where
561561 Out : Debug + Default + EnumSetType ,
562562 {
563- let reconciled = ' resolve : {
563+ let reconciled = {
564564 let reported = |platform, build_profile| {
565565 reported
566566 . get ( & platform)
567567 . and_then ( |rep| rep. get ( & build_profile) )
568568 . copied ( )
569569 } ;
570- let all_reported = || {
571- ExpandedPropertyValue :: from_query ( |platform, build_profile| {
572- reported ( platform, build_profile) . unwrap_or_default ( )
573- } )
574- } ;
575570 if let Some ( meta_expected) = meta_props. expected {
576571 let resolve = match preset {
577572 ReportProcessingPreset :: ResetAll => {
578- break ' resolve all_reported ( ) ;
573+ |_meta , rep : Option < _ > | rep . unwrap_or_default ( )
579574 }
580575 ReportProcessingPreset :: ResetContradictory => {
581576 |meta : Expected < _ > , rep : Option < Expected < _ > > | {
@@ -595,7 +590,9 @@ fn run(cli: Cli) -> ExitCode {
595590 )
596591 } )
597592 } else {
598- all_reported ( )
593+ ExpandedPropertyValue :: from_query ( |platform, build_profile| {
594+ reported ( platform, build_profile) . unwrap_or_default ( )
595+ } )
599596 }
600597 } ;
601598 meta_props. expected = Some ( reconciled) ;
You can’t perform that action at this time.
0 commit comments