diff options
| author | bors <bors@rust-lang.org> | 2016-03-21 00:07:33 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2016-03-21 00:07:33 -0700 |
| commit | 7ec8f5c3699bf16c452cff6abaeda26abaeef02c (patch) | |
| tree | 03778fce618b1d5dd712a9fbef1d7c6b731746ee /src/libcore/sync | |
| parent | 6c4b1f18f3c2a2de17c3562d6557a445b627bcc1 (diff) | |
| parent | e0945937c4d6786af0b03a11c8cec2c34cde7662 (diff) | |
| download | rust-7ec8f5c3699bf16c452cff6abaeda26abaeef02c.tar.gz rust-7ec8f5c3699bf16c452cff6abaeda26abaeef02c.zip | |
Auto merge of #32054 - seanmonstar:impl-debug-core, r=alexcrichton
libcore: add Debug implementations to most missing types Also adds `#![deny(missing_debug_implementations)]` to the core crate. cc #31869
Diffstat (limited to 'src/libcore/sync')
| -rw-r--r-- | src/libcore/sync/atomic.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/sync/atomic.rs b/src/libcore/sync/atomic.rs index 2055ca7adf3..7ae129eaf48 100644 --- a/src/libcore/sync/atomic.rs +++ b/src/libcore/sync/atomic.rs @@ -162,7 +162,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. |
