Fix lint in wgpu benchmark

This commit is contained in:
Héctor Ramón Jiménez 2024-04-07 09:33:33 +02:00
parent 68056f8ca4
commit bcd6873b37
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -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;