From 271b68891002b324be04d04475a4207ce5918590 Mon Sep 17 00:00:00 2001 From: David Partouche Date: Thu, 23 Oct 2014 12:28:57 +0200 Subject: Fixed switch from atomics to atomic in rust --- src/osx/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osx/mod.rs b/src/osx/mod.rs index 7d4d538..f165650 100644 --- a/src/osx/mod.rs +++ b/src/osx/mod.rs @@ -1,5 +1,5 @@ use Event; -use std::sync::atomics::AtomicBool; +use std::sync::atomic::AtomicBool; #[cfg(feature = "window")] use WindowBuilder; @@ -181,7 +181,7 @@ impl Window { } pub fn is_closed(&self) -> bool { - use std::sync::atomics::Relaxed; + use std::sync::atomic::Relaxed; self.is_closed.load(Relaxed) } -- cgit v1.2.3