about summary refs log tree commit diff
path: root/src/libcore/sync
diff options
context:
space:
mode:
authorSean McArthur <sean.monstar@gmail.com>2016-03-04 18:49:43 -0800
committerSean McArthur <sean.monstar@gmail.com>2016-03-20 10:04:55 -0700
commite0945937c4d6786af0b03a11c8cec2c34cde7662 (patch)
tree1a167e7ea6907b8638bd1141a47b81808180f21e /src/libcore/sync
parent235d77457d80b549dad3ac36d94f235208a1eafb (diff)
downloadrust-e0945937c4d6786af0b03a11c8cec2c34cde7662.tar.gz
rust-e0945937c4d6786af0b03a11c8cec2c34cde7662.zip
libcore: add Debug implementations to most missing types
Diffstat (limited to 'src/libcore/sync')
-rw-r--r--src/libcore/sync/atomic.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/sync/atomic.rs b/src/libcore/sync/atomic.rs
index 0c831bff763..9077837fc33 100644
--- a/src/libcore/sync/atomic.rs
+++ b/src/libcore/sync/atomic.rs
@@ -160,7 +160,7 @@ unsafe impl<T> Sync for AtomicPtr<T> {}
 /// Rust's memory orderings are [the same as
 /// LLVM's](http://llvm.org/docs/LangRef.html#memory-model-for-concurrent-operations).
 #[stable(feature = "rust1", since = "1.0.0")]
-#[derive(Copy, Clone)]
+#[derive(Copy, Clone, Debug)]
 pub enum Ordering {
     /// No ordering constraints, only atomic operations. Corresponds to LLVM's
     /// `Monotonic` ordering.