Change Complete to Break in the README
This commit is contained in:
parent
04ccad1dbc
commit
fe61d81d41
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ fn main() {
|
||||||
events_loop.run_forever(|event| {
|
events_loop.run_forever(|event| {
|
||||||
match event {
|
match event {
|
||||||
winit::Event::WindowEvent { event: winit::WindowEvent::Closed, .. } => {
|
winit::Event::WindowEvent { event: winit::WindowEvent::Closed, .. } => {
|
||||||
winit::ControlFlow::Complete
|
winit::ControlFlow::Break
|
||||||
},
|
},
|
||||||
_ => winit::ControlFlow::Continue,
|
_ => winit::ControlFlow::Continue,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue