From 4f42db3b9a73797f9429a5c3784a941e2c6d5fb8 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Wed, 3 Nov 2021 16:04:19 +0100 Subject: [PATCH] Clippy fix --- egui_demo_lib/benches/benchmark.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/egui_demo_lib/benches/benchmark.rs b/egui_demo_lib/benches/benchmark.rs index 51088d6af22..cf2a4bc9a26 100644 --- a/egui_demo_lib/benches/benchmark.rs +++ b/egui_demo_lib/benches/benchmark.rs @@ -51,7 +51,7 @@ pub fn criterion_benchmark(c: &mut Criterion) { { let mut ctx = egui::CtxRef::default(); - let _ = ctx.run(raw_input.clone(), |ctx| { + let _ = ctx.run(raw_input, |ctx| { egui::CentralPanel::default().show(ctx, |ui| { c.bench_function("label &str", |b| { b.iter(|| {