Skip to content

Commit 5d46488

Browse files
committed
cargo fmt
1 parent 44b01cc commit 5d46488

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

crates/ra_project_model/src/sysroot.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,11 @@ fn create_command_text(program: &str, args: &[&str]) -> String {
8989
format!("{} {}", program, args.join(" "))
9090
}
9191

92-
fn run_command_in_cargo_dir(cargo_toml: impl AsRef<Path>, program: impl AsRef<Path>, args: &[&str]) -> Result<Output> {
92+
fn run_command_in_cargo_dir(
93+
cargo_toml: impl AsRef<Path>,
94+
program: impl AsRef<Path>,
95+
args: &[&str],
96+
) -> Result<Output> {
9397
let program = program.as_ref().as_os_str().to_str().expect("Invalid Unicode in path");
9498
let output = Command::new(program)
9599
.current_dir(cargo_toml.as_ref().parent().unwrap())

0 commit comments

Comments
 (0)