mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-31 13:50:05 -04:00
Rename ControlFlow variant from Complete to Break
This commit is contained in:
@@ -13,7 +13,7 @@ fn main() {
|
||||
|
||||
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