mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-30 21:30:03 -04:00
Rename ControlFlow variant from Complete to Break
This commit is contained in:
@@ -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,
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user