diff options
-rw-r--r-- | build.rs | 2 | ||||
-rw-r--r-- | examples/fullscreen.rs | 2 | ||||
-rw-r--r-- | src/android/mod.rs | 2 | ||||
-rw-r--r-- | src/lib.rs | 2 |
4 files changed, 4 insertions, 4 deletions
@@ -3,7 +3,7 @@ extern crate gl_generator; extern crate khronos_api; use std::os; -use std::io::File; +use std::old_io::File; fn main() { let target = os::getenv("TARGET").unwrap(); diff --git a/examples/fullscreen.rs b/examples/fullscreen.rs index c07edaa..30c9527 100644 --- a/examples/fullscreen.rs +++ b/examples/fullscreen.rs @@ -4,7 +4,7 @@ extern crate android_glue; extern crate glutin; -use std::io::stdio::stdin; +use std::old_io::stdio::stdin; mod support; 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")] |