We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
impl fmt::Pointer for AtomicPtr
1 parent 9c3bc80 commit df7331fCopy full SHA for df7331f
library/core/src/sync/atomic.rs
@@ -3766,7 +3766,7 @@ impl<T> fmt::Debug for AtomicPtr<T> {
3766
#[stable(feature = "atomic_pointer", since = "1.24.0")]
3767
impl<T> fmt::Pointer for AtomicPtr<T> {
3768
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
3769
- fmt::Pointer::fmt(&self.load(Ordering::SeqCst), f)
+ fmt::Pointer::fmt(&self.load(Ordering::Relaxed), f)
3770
}
3771
3772
0 commit comments