Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'xtask/src/util.rs')
-rw-r--r--xtask/src/util.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/xtask/src/util.rs b/xtask/src/util.rs
index a740ad6afd..e5404d5717 100644
--- a/xtask/src/util.rs
+++ b/xtask/src/util.rs
@@ -37,7 +37,7 @@ pub(crate) fn detect_target(sh: &Shell) -> String {
Ok(target) => target,
_ => match cmd!(sh, "rustc --print=host-tuple").read() {
Ok(target) => target,
- Err(e) => panic!("Failed to detect target: {}\nPlease set RA_TARGET explicitly", e),
+ Err(e) => panic!("Failed to detect target: {e}\nPlease set RA_TARGET explicitly"),
},
}
}