Fixed switch from atomics to atomic in rust

This commit is contained in:
David Partouche committed 2014-10-23 17:30:16 +02:00
1 parent 86e8480550
commit 271b688910
1 file changed
+2 -2
+2 -2
View File
@@ -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)
}