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:
@@ -23,7 +23,7 @@ fn main() {
|
||||
}
|
||||
},
|
||||
Event::WindowEvent { event: WindowEvent::Closed, .. } => {
|
||||
return ControlFlow::Complete;
|
||||
return ControlFlow::Break;
|
||||
},
|
||||
_ => ()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user