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