diff options
Diffstat (limited to 'bench_util/js_runtime.rs')
-rw-r--r-- | bench_util/js_runtime.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bench_util/js_runtime.rs b/bench_util/js_runtime.rs index 81cc84155..7868c433a 100644 --- a/bench_util/js_runtime.rs +++ b/bench_util/js_runtime.rs @@ -15,7 +15,7 @@ pub fn create_js_runtime(setup: impl FnOnce() -> Vec<Extension>) -> JsRuntime { } fn loop_code(iters: u64, src: &str) -> String { - format!(r#"for(let i=0; i < {}; i++) {{ {} }}"#, iters, src,) + format!(r#"for(let i=0; i < {iters}; i++) {{ {src} }}"#,) } #[derive(Copy, Clone)] |