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
|
|
@ -23,7 +23,7 @@ fn main() {
|
|||
}
|
||||
},
|
||||
Event::WindowEvent { event: WindowEvent::Closed, .. } => {
|
||||
return ControlFlow::Complete;
|
||||
return ControlFlow::Break;
|
||||
},
|
||||
_ => ()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue