We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 284c15d commit 8ec9b78Copy full SHA for 8ec9b78
library/core/src/mem/mod.rs
@@ -495,6 +495,8 @@ pub const fn align_of_val<T: ?Sized>(val: &T) -> usize {
495
/// This is an unchecked version of [`align_of_val`] which takes a raw pointer
496
/// instead of a reference.
497
///
498
+/// [ABI]: https://en.wikipedia.org/wiki/Application_binary_interface
499
+///
500
/// # Safety
501
502
/// The provided (possibly wide) pointer must describe a valid value layout.
0 commit comments