File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 25
25
//! freed).
26
26
//! * The pointer satisfies [LLVM's pointer aliasing rules].
27
27
//!
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`] .
32
32
//!
33
33
//! [LLVM's pointer aliasing rules]: https://llvm.org/docs/LangRef.html#pointer-aliasing-rules
34
34
//! [`read_unaligned`]: ./fn.read_unaligned.html
You can’t perform that action at this time.
0 commit comments