diff --git a/core/src/sync/atomic.rs b/core/src/sync/atomic.rs index 1d19c985f232b..df108f5e0e4e5 100644 --- a/core/src/sync/atomic.rs +++ b/core/src/sync/atomic.rs @@ -3766,7 +3766,7 @@ impl fmt::Debug for AtomicPtr { #[stable(feature = "atomic_pointer", since = "1.24.0")] impl fmt::Pointer for AtomicPtr { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { - fmt::Pointer::fmt(&self.load(Ordering::SeqCst), f) + fmt::Pointer::fmt(&self.load(Ordering::Relaxed), f) } }