diff options
author | Andrew Kelley <superjoe30@gmail.com> | 2015-01-28 12:43:44 -0700 |
---|---|---|
committer | Andrew Kelley <superjoe30@gmail.com> | 2015-01-28 12:43:44 -0700 |
commit | 6a27fa9d266b5e261a2b9f9e071680f06fb6d904 (patch) | |
tree | a9002a2ce95e239dc80dc53a1795b7a6da7e4b9c | |
parent | 1a9cf9bc5c6e9251c8035e8412edafe4bfa8869d (diff) | |
download | glutin-6a27fa9d266b5e261a2b9f9e071680f06fb6d904.tar.gz glutin-6a27fa9d266b5e261a2b9f9e071680f06fb6d904.zip |
fix for rust nightly
-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")] |