From f5840bdcd360ec0bac2501f333e58e25742b1537 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Fri, 27 Jan 2023 10:43:16 -0500 Subject: chore: upgrade to Rust 1.67 (#17548) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bartek IwaƄczuk --- bench_util/js_runtime.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bench_util') 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) -> 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)] -- cgit v1.2.3