Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'xtask/src/pgo.rs')
-rw-r--r--xtask/src/pgo.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/xtask/src/pgo.rs b/xtask/src/pgo.rs
index 0c6f499811..ca6dace940 100644
--- a/xtask/src/pgo.rs
+++ b/xtask/src/pgo.rs
@@ -91,7 +91,7 @@ fn download_crate_for_training(sh: &Shell, pgo_dir: &Path, repo: &str) -> anyhow
let target_path = pgo_dir.join(normalized_path);
cmd!(sh, "git clone --depth 1 https://github.com/{repo} {revision...} {target_path}")
.run()
- .with_context(|| "cannot download PGO training crate from {repo}")?;
+ .with_context(|| format!("cannot download PGO training crate from {repo}"))?;
Ok(target_path)
}