diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/android/mod.rs | 2 | ||||
-rw-r--r-- | src/lib.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/android/mod.rs b/src/android/mod.rs index 7c4f186..f406e2b 100644 --- a/src/android/mod.rs +++ b/src/android/mod.rs @@ -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() } @@ -425,7 +425,7 @@ impl HeadlessRendererBuilder { /// // draw everything here /// /// window.swap_buffers(); -/// std::io::timer::sleep(17); +/// std::old_io::timer::sleep(17); /// } /// ``` #[cfg(feature = "window")] |