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 4e41c84 commit 4913bf8Copy full SHA for 4913bf8
crates/xtask/src/main.rs
@@ -74,7 +74,7 @@ fn cargo(args: &str, cb: &dyn Fn(&mut Command)) -> Result<()> {
74
cb(&mut cmd);
75
let status = cmd.status().expect("cargo should be installed");
76
if !status.success() {
77
- return Err("command `cargo {args}` failed".into());
+ return Err(format!("command `cargo {args}` failed").into());
78
}
79
Ok(())
80
0 commit comments