Skip to content

Commit

Permalink
refactor: resolve clippy::needless_return in raw-gles example
Browse files Browse the repository at this point in the history
  • Loading branch information
ErichDonGubler authored and jimblandy committed Nov 8, 2022
1 parent 319a916 commit a818b85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wgpu-hal/examples/raw-gles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a818b85

Please sign in to comment.