mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-28 07:33:14 -04:00
fix for rust nightly
This commit is contained in:
@@ -251,7 +251,7 @@ impl Window {
|
||||
|
||||
pub fn wait_events(&self) -> RingBuf<Event> {
|
||||
use std::time::Duration;
|
||||
use std::io::timer;
|
||||
use std::old_io::timer;
|
||||
timer::sleep(Duration::milliseconds(16));
|
||||
self.poll_events()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user