fix for rust nightly
This commit is contained in:
parent
1a9cf9bc5c
commit
6a27fa9d26
4 changed files with 4 additions and 4 deletions
|
|
@ -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()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue