From 71d463f865a8ce4d4099807401d5e006ecc3dac9 Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Wed, 26 Nov 2014 21:22:44 +0100 Subject: Update for rustc --- src/lib.rs | 2 -- src/x11/window/mod.rs | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/lib.rs b/src/lib.rs index e389ff6..7a64e70 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -42,8 +42,6 @@ extern crate cocoa; extern crate core_foundation; #[cfg(target_os = "macos")] extern crate core_graphics; -#[cfg(target_os = "linux")] -extern crate sync; pub use events::*; diff --git a/src/x11/window/mod.rs b/src/x11/window/mod.rs index 668cd03..8662fdc 100644 --- a/src/x11/window/mod.rs +++ b/src/x11/window/mod.rs @@ -6,7 +6,7 @@ use std::{mem, ptr}; use std::cell::Cell; use std::sync::atomic::AtomicBool; 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}; -- cgit v1.2.3