Skip to content

Commit 7d310aa

Browse files
author
hyd-dev
committed
Fix .expect() message
1 parent e751eeb commit 7d310aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cargo-miri/bin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ fn detect_target_dir() -> PathBuf {
500500
// Check this `Result` after `status.success()` is checked, so we don't print the error
501501
// to stderr if `cargo metadata` is also printing to stderr.
502502
let metadata: Result<Metadata, _> = serde_json::from_reader(child.stdout.take().unwrap());
503-
let status = child.wait().expect("failed to wait `cargo metadata` to exit");
503+
let status = child.wait().expect("failed to wait for `cargo metadata` to exit");
504504
if !status.success() {
505505
std::process::exit(status.code().unwrap_or(-1));
506506
}

0 commit comments

Comments
 (0)