diff options
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_project_model/src/cargo_workspace.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_project_model/src/cargo_workspace.rs b/crates/ra_project_model/src/cargo_workspace.rs index 0613310f1..362ee30fe 100644 --- a/crates/ra_project_model/src/cargo_workspace.rs +++ b/crates/ra_project_model/src/cargo_workspace.rs | |||
@@ -143,7 +143,7 @@ impl CargoWorkspace { | |||
143 | ) -> Result<CargoWorkspace> { | 143 | ) -> Result<CargoWorkspace> { |
144 | let _ = Command::new(cargo_binary()) | 144 | let _ = Command::new(cargo_binary()) |
145 | .arg("--version") | 145 | .arg("--version") |
146 | .status() | 146 | .output() |
147 | .context("failed to run `cargo --version`, is `cargo` in PATH?")?; | 147 | .context("failed to run `cargo --version`, is `cargo` in PATH?")?; |
148 | 148 | ||
149 | let mut meta = MetadataCommand::new(); | 149 | let mut meta = MetadataCommand::new(); |