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.
1 parent 61fc364 commit 1b2e9eeCopy full SHA for 1b2e9ee
core/src/sync/atomic.rs
@@ -991,7 +991,7 @@ impl<T> AtomicPtr<T> {
991
/// use std::sync::atomic::AtomicPtr;
992
///
993
/// let ptr = &mut 5;
994
- /// let atomic_ptr = AtomicPtr::new(ptr);
+ /// let atomic_ptr = AtomicPtr::new(ptr);
995
/// ```
996
#[inline]
997
#[stable(feature = "rust1", since = "1.0.0")]
0 commit comments