Update for rustc

This commit is contained in:
Pierre Krieger 2014-11-26 21:22:44 +01:00
parent 3ec343d12c
commit 71d463f865
2 changed files with 1 additions and 3 deletions

View file

@ -42,8 +42,6 @@ extern crate cocoa;
extern crate core_foundation; extern crate core_foundation;
#[cfg(target_os = "macos")] #[cfg(target_os = "macos")]
extern crate core_graphics; extern crate core_graphics;
#[cfg(target_os = "linux")]
extern crate sync;
pub use events::*; pub use events::*;

View file

@ -6,7 +6,7 @@ use std::{mem, ptr};
use std::cell::Cell; use std::cell::Cell;
use std::sync::atomic::AtomicBool; use std::sync::atomic::AtomicBool;
use super::ffi; use super::ffi;
use sync::one::{Once, ONCE_INIT}; use std::sync::{Once, ONCE_INIT};
pub use self::monitor::{MonitorID, get_available_monitors, get_primary_monitor}; pub use self::monitor::{MonitorID, get_available_monitors, get_primary_monitor};