diff --git a/src/lib.rs b/src/lib.rs index b19da801..bb45c8a6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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 /// _ => () /// }