Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
avrong committed Jul 29, 2022
1 parent 38e7bcf commit 01a6109
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions cargo-miri/bin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ use std::ops::Not;
use std::path::{Path, PathBuf};
use std::process::{self, Command};

use cargo_metadata::{Metadata, MetadataCommand};
use rustc_version::VersionMeta;
use serde::{Deserialize, Serialize};
use cargo_metadata::{MetadataCommand, Metadata};

use version::*;

Expand Down Expand Up @@ -594,16 +594,16 @@ fn get_cargo_metadata() -> Metadata {
for arg in ArgSplitFlagValue::new(
env::args().skip(3), // skip the program name, "miri" and "run" / "test"
config_flag,
).flatten() { // Only look at `Ok`
)
// Only look at `Ok`
.flatten()
{
additional_options.push(config_flag.to_string());
additional_options.push(arg);
}

let metadata = MetadataCommand::new()
.no_deps()
.other_options(additional_options)
.exec()
.unwrap();
let metadata =
MetadataCommand::new().no_deps().other_options(additional_options).exec().unwrap();

metadata
}
Expand Down

0 comments on commit 01a6109

Please sign in to comment.