Skip to content

Commit 5ebb40f

Browse files
committed
Fix dogfood
1 parent d69c4f5 commit 5ebb40f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/compile-test.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,13 +227,13 @@ fn main() {
227227
"ui-cargo-toml-metadata" => f = ui_cargo_toml_metadata() as fn(),
228228

229229
_ => panic!("unknown speedtest: {speedtest} || accepted speedtests are: [ui, cargo, toml, internal]"),
230-
}
230+
};
231231

232232
let iterations;
233233
if let Ok(iterations_str) = std::env::var("SPEEDTEST_ITERATIONS") {
234234
iterations = iterations_str
235235
.parse::<u64>()
236-
.unwrap_or_else(|_| panic!("Couldn't parse `{}`, please use a valid u64", iterations_str));
236+
.unwrap_or_else(|_| panic!("Couldn't parse `{iterations_str}`, please use a valid u64"));
237237
} else {
238238
iterations = 1000;
239239
}

0 commit comments

Comments
 (0)