File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 2525//!   freed). 
2626//! * The pointer satisfies [LLVM's pointer aliasing rules]. 
2727//! 
28- //! Valid pointers are not necessarily properly aligned. However, except for  
29- //! [`read_unaligned`] and [`write_unaligned`], most functions require their  
30- //! arguments to be aligned. Any alignment requirements will be explicitly  
31- //! stated in the function's documentation . 
28+ //! Valid pointers are not necessarily properly aligned. However, most functions  
29+ //! require their arguments to be properly aligned, and will explicitly state  
30+ //! this requirement in the `Safety` section. Notable exceptions to this are  
31+ //! [`read_unaligned`] and [`write_unaligned`] . 
3232//! 
3333//! [LLVM's pointer aliasing rules]: https://llvm.org/docs/LangRef.html#pointer-aliasing-rules 
3434//! [`read_unaligned`]: ./fn.read_unaligned.html 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments