Skip to content

Commit 01a6109

Browse files
committed
Fix formatting
1 parent 38e7bcf commit 01a6109

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

cargo-miri/bin.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ use std::ops::Not;
1414
use std::path::{Path, PathBuf};
1515
use std::process::{self, Command};
1616

17+
use cargo_metadata::{Metadata, MetadataCommand};
1718
use rustc_version::VersionMeta;
1819
use serde::{Deserialize, Serialize};
19-
use cargo_metadata::{MetadataCommand, Metadata};
2020

2121
use version::*;
2222

@@ -594,16 +594,16 @@ fn get_cargo_metadata() -> Metadata {
594594
for arg in ArgSplitFlagValue::new(
595595
env::args().skip(3), // skip the program name, "miri" and "run" / "test"
596596
config_flag,
597-
).flatten() { // Only look at `Ok`
597+
)
598+
// Only look at `Ok`
599+
.flatten()
600+
{
598601
additional_options.push(config_flag.to_string());
599602
additional_options.push(arg);
600603
}
601604

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();
607607

608608
metadata
609609
}

0 commit comments

Comments
 (0)