diff options
| -rw-r--r-- | library/core/src/sync/atomic.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/core/src/sync/atomic.rs b/library/core/src/sync/atomic.rs index 281ad16dff5..bf7251172e0 100644 --- a/library/core/src/sync/atomic.rs +++ b/library/core/src/sync/atomic.rs @@ -502,7 +502,7 @@ pub enum Ordering { note = "the `new` function is now preferred", suggestion = "AtomicBool::new(false)" )] -pub const ATOMIC_BOOL_INIT: Atomic<bool> = AtomicBool::new(false); +pub const ATOMIC_BOOL_INIT: AtomicBool = AtomicBool::new(false); #[cfg(target_has_atomic_load_store = "8")] impl AtomicBool { @@ -3772,7 +3772,7 @@ macro_rules! atomic_int_ptr_sized { note = "the `new` function is now preferred", suggestion = "AtomicIsize::new(0)", )] - pub const ATOMIC_ISIZE_INIT: Atomic<isize> = AtomicIsize::new(0); + pub const ATOMIC_ISIZE_INIT: AtomicIsize = AtomicIsize::new(0); /// An [`AtomicUsize`] initialized to `0`. #[cfg(target_pointer_width = $target_pointer_width)] @@ -3782,7 +3782,7 @@ macro_rules! atomic_int_ptr_sized { note = "the `new` function is now preferred", suggestion = "AtomicUsize::new(0)", )] - pub const ATOMIC_USIZE_INIT: Atomic<usize> = AtomicUsize::new(0); + pub const ATOMIC_USIZE_INIT: AtomicUsize = AtomicUsize::new(0); )* }; } |
