Change Complete to Break in the README

This commit is contained in:
mitchmindtree 2017-06-20 21:34:00 +10:00
parent 04ccad1dbc
commit fe61d81d41

View file

@ -34,7 +34,7 @@ fn main() {
events_loop.run_forever(|event| {
match event {
winit::Event::WindowEvent { event: winit::WindowEvent::Closed, .. } => {
winit::ControlFlow::Complete
winit::ControlFlow::Break
},
_ => winit::ControlFlow::Continue,
}