Skip to content

Commit

Permalink
Clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Nov 3, 2021
1 parent 2d25057 commit 4627287
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion egui_demo_lib/benches/benchmark.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(|| {
Expand Down

0 comments on commit 4627287

Please sign in to comment.