Skip to content

Commit

Permalink
Update library/core/src/mem/mod.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
CAD97 authored Nov 16, 2023
1 parent 284c15d commit 8ec9b78
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions library/core/src/mem/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,8 @@ pub const fn align_of_val<T: ?Sized>(val: &T) -> usize {
/// This is an unchecked version of [`align_of_val`] which takes a raw pointer
/// instead of a reference.
///
/// [ABI]: https://en.wikipedia.org/wiki/Application_binary_interface
///
/// # Safety
///
/// The provided (possibly wide) pointer must describe a valid value layout.
Expand Down

0 comments on commit 8ec9b78

Please sign in to comment.