Skip to content

Commit

Permalink
Update library/core/src/mem/mod.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Jules Bertholet <[email protected]>
  • Loading branch information
CAD97 and Jules-Bertholet authored Nov 16, 2023
1 parent 8ec9b78 commit 3e4b6f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/mem/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ pub const fn align_of_val<T: ?Sized>(val: &T) -> usize {
/// [extern types]: ../../unstable-book/language-features/extern-types.html
///
/// It is important to note that the last point means that it would be *unsound*
/// to implement `size_of_val` as an unconditional call to `size_of_val_raw`.
/// to implement `align_of_val` as an unconditional call to `align_of_val_raw`.
///
/// # Examples
///
Expand Down

0 comments on commit 3e4b6f5

Please sign in to comment.