aboutsummaryrefslogtreecommitdiffstats
path: root/examples/fullscreen.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/fullscreen.rs')
-rw-r--r--examples/fullscreen.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/fullscreen.rs b/examples/fullscreen.rs
index 7c2ece8..c07edaa 100644
--- a/examples/fullscreen.rs
+++ b/examples/fullscreen.rs
@@ -47,6 +47,6 @@ fn main() {
context.draw_frame((0.0, 1.0, 0.0, 1.0));
window.swap_buffers();
- println!("{:?}", window.wait_events().collect::<Vec<glutin::Event>>());
+ println!("{:?}", window.wait_events().next());
}
}