Commit 50deb1f 1 parent 731f0c5 commit 50deb1f Copy full SHA for 50deb1f
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -501,7 +501,7 @@ pub enum Ordering {
501
501
note = "the `new` function is now preferred" ,
502
502
suggestion = "AtomicBool::new(false)"
503
503
) ]
504
- pub const ATOMIC_BOOL_INIT : Atomic < bool > = AtomicBool :: new ( false ) ;
504
+ pub const ATOMIC_BOOL_INIT : AtomicBool = AtomicBool :: new ( false ) ;
505
505
506
506
#[ cfg( target_has_atomic_load_store = "8" ) ]
507
507
impl AtomicBool {
@@ -3768,7 +3768,7 @@ macro_rules! atomic_int_ptr_sized {
3768
3768
note = "the `new` function is now preferred" ,
3769
3769
suggestion = "AtomicIsize::new(0)" ,
3770
3770
) ]
3771
- pub const ATOMIC_ISIZE_INIT : Atomic < isize > = AtomicIsize :: new( 0 ) ;
3771
+ pub const ATOMIC_ISIZE_INIT : AtomicIsize = AtomicIsize :: new( 0 ) ;
3772
3772
3773
3773
/// An [`AtomicUsize`] initialized to `0`.
3774
3774
#[ cfg( target_pointer_width = $target_pointer_width) ]
@@ -3778,7 +3778,7 @@ macro_rules! atomic_int_ptr_sized {
3778
3778
note = "the `new` function is now preferred" ,
3779
3779
suggestion = "AtomicUsize::new(0)" ,
3780
3780
) ]
3781
- pub const ATOMIC_USIZE_INIT : Atomic < usize > = AtomicUsize :: new( 0 ) ;
3781
+ pub const ATOMIC_USIZE_INIT : AtomicUsize = AtomicUsize :: new( 0 ) ;
3782
3782
) * } ;
3783
3783
}
3784
3784
You can’t perform that action at this time.
0 commit comments