File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -502,7 +502,7 @@ pub enum Ordering {
502502 note = "the `new` function is now preferred" ,
503503 suggestion = "AtomicBool::new(false)"
504504) ]
505- pub const ATOMIC_BOOL_INIT : Atomic < bool > = AtomicBool :: new ( false ) ;
505+ pub const ATOMIC_BOOL_INIT : AtomicBool = AtomicBool :: new ( false ) ;
506506
507507#[ cfg( target_has_atomic_load_store = "8" ) ]
508508impl AtomicBool {
@@ -3772,7 +3772,7 @@ macro_rules! atomic_int_ptr_sized {
37723772 note = "the `new` function is now preferred" ,
37733773 suggestion = "AtomicIsize::new(0)" ,
37743774 ) ]
3775- pub const ATOMIC_ISIZE_INIT : Atomic < isize > = AtomicIsize :: new( 0 ) ;
3775+ pub const ATOMIC_ISIZE_INIT : AtomicIsize = AtomicIsize :: new( 0 ) ;
37763776
37773777 /// An [`AtomicUsize`] initialized to `0`.
37783778 #[ cfg( target_pointer_width = $target_pointer_width) ]
@@ -3782,7 +3782,7 @@ macro_rules! atomic_int_ptr_sized {
37823782 note = "the `new` function is now preferred" ,
37833783 suggestion = "AtomicUsize::new(0)" ,
37843784 ) ]
3785- pub const ATOMIC_USIZE_INIT : Atomic < usize > = AtomicUsize :: new( 0 ) ;
3785+ pub const ATOMIC_USIZE_INIT : AtomicUsize = AtomicUsize :: new( 0 ) ;
37863786 ) * } ;
37873787}
37883788
You can’t perform that action at this time.
0 commit comments