aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/android/mod.rs2
-rw-r--r--src/lib.rs2
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()
}
diff --git a/src/lib.rs b/src/lib.rs
index 1cf9b48..eefd8e0 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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")]