Match formating of tutorial

pull/472/head
Sean Krueger 1 year ago committed by Sean Krueger
parent 780d2ef3f4
commit 9400755cb7

@ -231,7 +231,8 @@ pub async fn run() {
let mut state = State::new(window).await; let mut state = State::new(window).await;
event_loop.run(move |event, _, control_flow| match event { event_loop.run(move |event, _, control_flow| {
match event {
Event::WindowEvent { Event::WindowEvent {
ref event, ref event,
window_id, window_id,
@ -249,6 +250,7 @@ pub async fn run() {
_ => {} _ => {}
}, },
_ => {} _ => {}
}
}); });
} }
``` ```

Loading…
Cancel
Save