Fix a documentation typo

This commit is contained in:
Alexander Lopatin 2016-02-01 21:09:19 +03:00
parent 28bed3f5e6
commit ed08701539

View File

@ -711,7 +711,7 @@ impl AtomicUsize {
/// ```
/// use std::sync::atomic::{AtomicUsize, Ordering};
///
/// let some_usize= AtomicUsize::new(5);
/// let some_usize = AtomicUsize::new(5);
///
/// assert_eq!(some_usize.swap(10, Ordering::Relaxed), 5);
/// assert_eq!(some_usize.load(Ordering::Relaxed), 10);