aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build.rs2
-rw-r--r--examples/fullscreen.rs2
-rw-r--r--src/android/mod.rs2
-rw-r--r--src/lib.rs2
4 files changed, 4 insertions, 4 deletions
diff --git a/build.rs b/build.rs
index a154868..695d397 100644
--- a/build.rs
+++ b/build.rs
@@ -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()
}
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")]