From e0945937c4d6786af0b03a11c8cec2c34cde7662 Mon Sep 17 00:00:00 2001 From: Sean McArthur Date: Fri, 4 Mar 2016 18:49:43 -0800 Subject: libcore: add Debug implementations to most missing types --- src/libcore/sync/atomic.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libcore/sync') 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 Sync for AtomicPtr {} /// 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. -- cgit 1.4.1-3-g733a5