Skip to content

Commit 11237a5

Browse files
refactor: resolve clippy::needless_return in raw-gles example
1 parent 078b1b9 commit 11237a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wgpu-hal/examples/raw-gles.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ fn main() {
4848
*control_flow = ControlFlow::Wait;
4949

5050
match event {
51-
Event::LoopDestroyed => return,
51+
Event::LoopDestroyed => (),
5252
Event::WindowEvent { event, .. } => match event {
5353
WindowEvent::CloseRequested
5454
| WindowEvent::KeyboardInput {

0 commit comments

Comments
 (0)