File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -14,9 +14,9 @@ use std::ops::Not;
14
14
use std:: path:: { Path , PathBuf } ;
15
15
use std:: process:: { self , Command } ;
16
16
17
+ use cargo_metadata:: { Metadata , MetadataCommand } ;
17
18
use rustc_version:: VersionMeta ;
18
19
use serde:: { Deserialize , Serialize } ;
19
- use cargo_metadata:: { MetadataCommand , Metadata } ;
20
20
21
21
use version:: * ;
22
22
@@ -594,16 +594,16 @@ fn get_cargo_metadata() -> Metadata {
594
594
for arg in ArgSplitFlagValue :: new (
595
595
env:: args ( ) . skip ( 3 ) , // skip the program name, "miri" and "run" / "test"
596
596
config_flag,
597
- ) . flatten ( ) { // Only look at `Ok`
597
+ )
598
+ // Only look at `Ok`
599
+ . flatten ( )
600
+ {
598
601
additional_options. push ( config_flag. to_string ( ) ) ;
599
602
additional_options. push ( arg) ;
600
603
}
601
604
602
- let metadata = MetadataCommand :: new ( )
603
- . no_deps ( )
604
- . other_options ( additional_options)
605
- . exec ( )
606
- . unwrap ( ) ;
605
+ let metadata =
606
+ MetadataCommand :: new ( ) . no_deps ( ) . other_options ( additional_options) . exec ( ) . unwrap ( ) ;
607
607
608
608
metadata
609
609
}
You can’t perform that action at this time.
0 commit comments