summaryrefslogtreecommitdiffstats
path: root/benches
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-04-07 09:33:33 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-04-07 09:33:33 +0200
commitbcd6873b37ed63ade9743900cdae8e8619299eb2 (patch)
treefa968ba4bccbab247e319a730c8b3273a61c9d14 /benches
parent68056f8ca401e2d0b5c96e18c78e19a771b3df07 (diff)
downloadiced-bcd6873b37ed63ade9743900cdae8e8619299eb2.tar.gz
iced-bcd6873b37ed63ade9743900cdae8e8619299eb2.tar.bz2
iced-bcd6873b37ed63ade9743900cdae8e8619299eb2.zip
Fix lint in `wgpu` benchmark
Diffstat (limited to 'benches')
-rw-r--r--benches/wgpu.rs4
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;