File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -1622,7 +1622,7 @@ impl<T: ?Sized + fmt::Display> fmt::Display for RefMut<'_, T> {
16221622/// `UnsafeCell<T>` is a type that wraps some `T` and indicates unsafe interior operations on the 
16231623/// wrapped type. Types with an `UnsafeCell<T>` field are considered to have an 'unsafe interior'. 
16241624/// The `UnsafeCell<T>` type is the only legal way to obtain aliasable data that is considered 
1625- /// mutable. In general, transmuting an  `&T` type into an  `&mut T` is considered undefined behavior. 
1625+ /// mutable. In general, transmuting a  `&T` type into a  `&mut T` is considered undefined behavior. 
16261626/// 
16271627/// If you have a reference `&SomeStruct`, then normally in Rust all fields of `SomeStruct` are 
16281628/// immutable. The compiler makes optimizations based on the knowledge that `&T` is not mutably 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments