@@ -1245,8 +1245,8 @@ impl AtomicBool {
12451245/// Returning an `*mut` pointer from a shared reference to this atomic is safe because the 
12461246/// atomic types work with interior mutability. All modifications of an atomic change the value 
12471247/// through a shared reference, and can do so safely as long as they use atomic operations. Any 
1248- /// use of the returned raw pointer requires an `unsafe` block and still has to uphold the same  
1249- /// restriction in [Memory  model for atomic accesses ]. 
1248+ /// use of the returned raw pointer requires an `unsafe` block and still has to uphold the 
1249+ /// requirements of the [memory  model]. 
12501250/// 
12511251/// # Examples 
12521252/// 
@@ -1265,7 +1265,7 @@ impl AtomicBool {
12651265/// # } 
12661266/// ``` 
12671267/// 
1268- /// [Memory  model for atomic accesses ]: self#memory-model-for-atomic-accesses 
1268+ /// [memory  model]: self#memory-model-for-atomic-accesses 
12691269#[ inline]  
12701270    #[ stable( feature = "atomic_as_ptr" ,  since = "1.70.0" ) ]  
12711271    #[ rustc_const_stable( feature = "atomic_as_ptr" ,  since = "1.70.0" ) ]  
@@ -2489,8 +2489,8 @@ impl<T> AtomicPtr<T> {
24892489/// Returning an `*mut` pointer from a shared reference to this atomic is safe because the 
24902490/// atomic types work with interior mutability. All modifications of an atomic change the value 
24912491/// through a shared reference, and can do so safely as long as they use atomic operations. Any 
2492- /// use of the returned raw pointer requires an `unsafe` block and still has to uphold the same  
2493- /// restriction in [Memory  model for atomic accesses ]. 
2492+ /// use of the returned raw pointer requires an `unsafe` block and still has to uphold the 
2493+ /// requirements of the [memory  model]. 
24942494/// 
24952495/// # Examples 
24962496/// 
@@ -2510,7 +2510,7 @@ impl<T> AtomicPtr<T> {
25102510/// } 
25112511/// ``` 
25122512/// 
2513- /// [Memory  model for atomic accesses ]: self#memory-model-for-atomic-accesses 
2513+ /// [memory  model]: self#memory-model-for-atomic-accesses 
25142514#[ inline]  
25152515    #[ stable( feature = "atomic_as_ptr" ,  since = "1.70.0" ) ]  
25162516    #[ rustc_const_stable( feature = "atomic_as_ptr" ,  since = "1.70.0" ) ]  
@@ -3623,8 +3623,8 @@ macro_rules! atomic_int {
36233623/// Returning an `*mut` pointer from a shared reference to this atomic is safe because the 
36243624/// atomic types work with interior mutability. All modifications of an atomic change the value 
36253625/// through a shared reference, and can do so safely as long as they use atomic operations. Any 
3626- /// use of the returned raw pointer requires an `unsafe` block and still has to uphold the same  
3627- /// restriction in [Memory  model for atomic accesses ]. 
3626+ /// use of the returned raw pointer requires an `unsafe` block and still has to uphold the 
3627+ /// requirements of the [memory  model]. 
36283628/// 
36293629/// # Examples 
36303630/// 
@@ -3645,7 +3645,7 @@ macro_rules! atomic_int {
36453645/// # } 
36463646/// ``` 
36473647/// 
3648- /// [Memory  model for atomic accesses ]: self#memory-model-for-atomic-accesses 
3648+ /// [memory  model]: self#memory-model-for-atomic-accesses 
36493649[ inline] 
36503650            #[ stable( feature = "atomic_as_ptr" ,  since = "1.70.0" ) ] 
36513651            #[ rustc_const_stable( feature = "atomic_as_ptr" ,  since = "1.70.0" ) ] 
0 commit comments