diff options
Diffstat (limited to 'benches/wgpu.rs')
-rw-r--r-- | benches/wgpu.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/benches/wgpu.rs b/benches/wgpu.rs index 47e3f7cc..8489f61a 100644 --- a/benches/wgpu.rs +++ b/benches/wgpu.rs @@ -16,9 +16,9 @@ pub fn wgpu_benchmark(c: &mut Criterion) { c.bench_function("wgpu — canvas (heavy)", |b| benchmark(b, scene(1_000))); } -fn benchmark<'a>( +fn benchmark( bencher: &mut Bencher<'_>, - widget: Element<'a, (), Theme, Renderer>, + widget: Element<'_, (), Theme, Renderer>, ) { use iced_futures::futures::executor; use iced_wgpu::graphics; |