diff --git a/tests/tests/mem_leaks.rs b/tests/tests/mem_leaks.rs index 4e025cdb79..56109faf5c 100644 --- a/tests/tests/mem_leaks.rs +++ b/tests/tests/mem_leaks.rs @@ -245,8 +245,7 @@ fn draw_test_with_reports( let report = global_report.hub_report(); assert_eq!(report.command_buffers.num_allocated, 0); - ctx.device - .poll(wgpu::Maintain::Wait); + ctx.device.poll(wgpu::Maintain::Wait); let global_report = ctx.instance.generate_report(); let report = global_report.hub_report();