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.
2 parents e9594b5 + df7331f commit 0886faaCopy full SHA for 0886faa
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