@@ -223,17 +223,17 @@ fn main() {
223
223
"cargo" => f = run_ui_cargo as fn ( ) ,
224
224
"toml" => f = run_ui_toml as fn ( ) ,
225
225
"internal" => f = run_internal_tests as fn ( ) ,
226
- "rustfix-coverage-known-exceptions-accuracy" => f = rustfix_coverage_known_exceptions_accuracy as fn ( ) ,
227
- "ui-cargo-toml-metadata" => f = ui_cargo_toml_metadata ( ) as fn ( ) ,
226
+ "rustfix-coverage-known-exceptions-accuracy" => f = rustfix_coverage_known_exceptions_accuracy as fn ( ) ,
227
+ "ui-cargo-toml-metadata" => f = ui_cargo_toml_metadata as fn ( ) ,
228
228
229
229
_ => panic ! ( "unknown speedtest: {speedtest} || accepted speedtests are: [ui, cargo, toml, internal]" ) ,
230
- }
230
+ } ;
231
231
232
232
let iterations;
233
233
if let Ok ( iterations_str) = std:: env:: var ( "SPEEDTEST_ITERATIONS" ) {
234
234
iterations = iterations_str
235
235
. 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" ) ) ;
237
237
} else {
238
238
iterations = 1000 ;
239
239
}
@@ -250,8 +250,8 @@ fn main() {
250
250
run_ui_toml ( ) ;
251
251
run_ui_cargo ( ) ;
252
252
run_internal_tests ( ) ;
253
- rustfix_coverage_known_exceptions_accuracy ( ) ;
254
- ui_cargo_toml_metadata ( ) ;
253
+ rustfix_coverage_known_exceptions_accuracy ( ) ;
254
+ ui_cargo_toml_metadata ( ) ;
255
255
}
256
256
}
257
257
0 commit comments