Open kvark opened 4 years ago
Everything after the event loop is unreachable:
warning: unreachable statement --> src/main.rs:1410:9 | 1096 | / events_loop.run(move |event, _, control_flow| { 1097 | | *control_flow = ControlFlow::Poll; 1098 | | 1099 | | match event { ... | 1407 | | } 1408 | | }); | |__________- any code following this expression is unreachable 1409 | 1410 | device.wait_idle()?; | ^^^^^^^^^^^^^^^^^^^^ unreachable statement
Everything after the event loop is unreachable: