From e6d1a952ef0c22efe76b68e444620e68ba7a912b Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Fri, 7 Feb 2025 18:06:18 +0100 Subject: [PATCH] Fix `clippy::unnecessary_semicolon` lints --- examples/with_winit/src/lib.rs | 2 +- vello/src/wgpu_engine.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/with_winit/src/lib.rs b/examples/with_winit/src/lib.rs index 7d7a521c..2d3c8f5f 100644 --- a/examples/with_winit/src/lib.rs +++ b/examples/with_winit/src/lib.rs @@ -407,7 +407,7 @@ impl ApplicationHandler for VelloApp<'_> { self.context .resize_surface(surface, size.width, size.height); window.request_redraw(); - }; + } } WindowEvent::MouseInput { state, button, .. } => { if button == MouseButton::Left { diff --git a/vello/src/wgpu_engine.rs b/vello/src/wgpu_engine.rs index 8f5e1c69..660de2a3 100644 --- a/vello/src/wgpu_engine.rs +++ b/vello/src/wgpu_engine.rs @@ -1184,7 +1184,7 @@ impl<'a> TransientBindMap<'a> { _ => bind_map.materialize_cpu_buf(proxy), }, ResourceProxy::Image(_) => todo!(), - }; + } } // Second pass takes immutable references bindings