Rename ControlFlow variant from Complete to Break
This commit is contained in:
parent
df1276d72a
commit
04ccad1dbc
13 changed files with 28 additions and 28 deletions
|
|
@ -22,7 +22,7 @@ fn main() {
|
|||
println!("{:?}", event);
|
||||
match event {
|
||||
winit::Event::WindowEvent { event: winit::WindowEvent::Closed, .. } =>
|
||||
winit::ControlFlow::Complete,
|
||||
winit::ControlFlow::Break,
|
||||
_ => winit::ControlFlow::Continue,
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue