mirror of
https://github.com/rust-windowing/winit.git
synced 2026-09-02 06:40:06 -04:00
Rename ControlFlow variant from Complete to Break
This commit is contained in:
@@ -28,7 +28,7 @@ fn main() {
|
||||
}
|
||||
},
|
||||
|
||||
WindowEvent::Closed => return ControlFlow::Complete,
|
||||
WindowEvent::Closed => return ControlFlow::Break,
|
||||
|
||||
a @ WindowEvent::MouseMoved { .. } => {
|
||||
println!("{:?}", a);
|
||||
|
||||
Reference in New Issue
Block a user