Update crates/project-model/src/rustc_cfg.rs

Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
This commit is contained in:
David Barsky 2023-09-08 14:07:59 -04:00 committed by GitHub
parent 912b22fa07
commit 0bf6ffaf82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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`")
}