aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2015-01-28 12:43:44 -0700
committerAndrew Kelley <superjoe30@gmail.com>2015-01-28 12:43:44 -0700
commit6a27fa9d266b5e261a2b9f9e071680f06fb6d904 (patch)
treea9002a2ce95e239dc80dc53a1795b7a6da7e4b9c
parent1a9cf9bc5c6e9251c8035e8412edafe4bfa8869d (diff)
downloadglutin-6a27fa9d266b5e261a2b9f9e071680f06fb6d904.tar.gz
glutin-6a27fa9d266b5e261a2b9f9e071680f06fb6d904.zip
fix for rust nightly
-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")]