Unnamed repository; edit this file 'description' to name the repository.
Update crates/project-model/src/rustc_cfg.rs
Co-authored-by: Lukas Wirth <[email protected]>
David Barsky 2023-09-09
parent 912b22f · commit 0bf6ffa
-rw-r--r--crates/project-model/src/rustc_cfg.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/project-model/src/rustc_cfg.rs b/crates/project-model/src/rustc_cfg.rs
index 905adff4e5..c5d55f7d21 100644
--- a/crates/project-model/src/rustc_cfg.rs
+++ b/crates/project-model/src/rustc_cfg.rs
@@ -102,6 +102,5 @@ fn get_rust_cfgs(
cmd.args(["--target", target]);
}
- let out = utf8_stdout(cmd).context("Unable to run `rustc`")?;
- Ok(out)
+ utf8_stdout(cmd).context("Unable to run `rustc`")
}