We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44b01cc commit 5d46488Copy full SHA for 5d46488
crates/ra_project_model/src/sysroot.rs
@@ -89,7 +89,11 @@ fn create_command_text(program: &str, args: &[&str]) -> String {
89
format!("{} {}", program, args.join(" "))
90
}
91
92
-fn run_command_in_cargo_dir(cargo_toml: impl AsRef<Path>, program: impl AsRef<Path>, args: &[&str]) -> Result<Output> {
+fn run_command_in_cargo_dir(
93
+ cargo_toml: impl AsRef<Path>,
94
+ program: impl AsRef<Path>,
95
+ args: &[&str],
96
+) -> Result<Output> {
97
let program = program.as_ref().as_os_str().to_str().expect("Invalid Unicode in path");
98
let output = Command::new(program)
99
.current_dir(cargo_toml.as_ref().parent().unwrap())
0 commit comments