Unnamed repository; edit this file 'description' to name the repository.
-rw-r--r--xtask/src/metrics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/xtask/src/metrics.rs b/xtask/src/metrics.rs
index b683b32e6d..aa700d715d 100644
--- a/xtask/src/metrics.rs
+++ b/xtask/src/metrics.rs
@@ -17,7 +17,7 @@ impl flags::Metrics {
pub(crate) fn run(self, sh: &Shell) -> anyhow::Result<()> {
let mut metrics = Metrics::new(sh)?;
if !self.dry_run {
- sh.remove_path("./target/release")?;
+ let _ = sh.remove_path("./target/release");
}
if !Path::new("./target/rustc-perf").exists() {
sh.create_dir("./target/rustc-perf")?;