Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'xtask/src/metrics.rs')
-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 285abb9efc..9a7785dd43 100644
--- a/xtask/src/metrics.rs
+++ b/xtask/src/metrics.rs
@@ -64,7 +64,7 @@ impl flags::Metrics {
};
let mut file =
- fs::File::options().write(true).create(true).open(format!("target/{}.json", name))?;
+ fs::File::options().write(true).create(true).open(format!("target/{name}.json"))?;
writeln!(file, "{}", metrics.json())?;
eprintln!("{metrics:#?}");
Ok(())