From dbaef704ad2d3a55b173a486ffd553ebb46b1283 Mon Sep 17 00:00:00 2001 From: Tomaka17 Date: Sat, 2 Aug 2014 11:07:29 +0200 Subject: [PATCH] Fix docs for Window --- src/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 /// _ => () /// }