From f81c625fdee6523f66e4ab56bc5aa69cffcab4cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20W=C3=BCnsche?= Date: Thu, 8 Feb 2024 09:49:58 +0100 Subject: [PATCH] benchmarks: fix missing format --- betree/haura-benchmarks/src/scientific_evaluation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/betree/haura-benchmarks/src/scientific_evaluation.rs b/betree/haura-benchmarks/src/scientific_evaluation.rs index 679a90b4..782ac2e7 100644 --- a/betree/haura-benchmarks/src/scientific_evaluation.rs +++ b/betree/haura-benchmarks/src/scientific_evaluation.rs @@ -65,7 +65,7 @@ pub fn run_read_write( let f = std::fs::OpenOptions::new() .write(true) .create(true) - .open("evaluation_{name}.csv")?; + .open(format!("evaluation_{name}.csv"))?; let mut w = std::io::BufWriter::new(f); w.write_all(b"offset,size,latency_ns,op\n")?; for (pos, len) in positions.iter().cycle() {