Skip to content

Commit

Permalink
Remove extra space in AtomicPtr::new docs
Browse files Browse the repository at this point in the history
  • Loading branch information
AldaronLau committed Jul 9, 2022
1 parent 6c20ab7 commit 4944b57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/sync/atomic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -991,7 +991,7 @@ impl<T> AtomicPtr<T> {
/// use std::sync::atomic::AtomicPtr;
///
/// let ptr = &mut 5;
/// let atomic_ptr = AtomicPtr::new(ptr);
/// let atomic_ptr = AtomicPtr::new(ptr);
/// ```
#[inline]
#[stable(feature = "rust1", since = "1.0.0")]
Expand Down

0 comments on commit 4944b57

Please sign in to comment.