mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-26 22:53:15 -04:00
Fix docs for Window
This commit is contained in:
@@ -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
|
||||
/// _ => ()
|
||||
/// }
|
||||
|
||||
Reference in New Issue
Block a user