refactor: resolve clippy::needless_return in raw-gles example

This commit is contained in:
Erich Gubler 2022-10-06 04:26:07 -04:00 committed by Jim Blandy
parent 319a916cb6
commit a818b8540a

View File

@ -48,7 +48,7 @@ fn main() {
*control_flow = ControlFlow::Wait;
match event {
Event::LoopDestroyed => return,
Event::LoopDestroyed => (),
Event::WindowEvent { event, .. } => match event {
WindowEvent::CloseRequested
| WindowEvent::KeyboardInput {