Fix docs for Window

This commit is contained in:
Tomaka17 2014-08-02 11:07:29 +02:00
parent bfc5d3e63d
commit dbaef704ad

View file

@ -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
/// _ => () /// _ => ()
/// } /// }