mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-23 22:01:31 +11:00
Fix docs for Window
This commit is contained in:
parent
bfc5d3e63d
commit
dbaef704ad
|
@ -92,8 +92,7 @@ impl WindowBuilder {
|
|||
/// unsafe { window.make_current() };
|
||||
///
|
||||
/// loop {
|
||||
/// for event in window.poll_events().move_iter() { // note: this may change in the future
|
||||
/// match event {
|
||||
/// for event in window.poll_events() {
|
||||
/// // process events here
|
||||
/// _ => ()
|
||||
/// }
|
||||
|
|
Loading…
Reference in a new issue