mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2025-01-11 13:31:29 +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() };
|
/// unsafe { window.make_current() };
|
||||||
///
|
///
|
||||||
/// loop {
|
/// loop {
|
||||||
/// for event in window.poll_events().move_iter() { // note: this may change in the future
|
/// for event in window.poll_events() {
|
||||||
/// match event {
|
|
||||||
/// // process events here
|
/// // process events here
|
||||||
/// _ => ()
|
/// _ => ()
|
||||||
/// }
|
/// }
|
||||||
|
|
Loading…
Reference in a new issue