Skip to content

Commit 3e4b6f5

Browse files
Update library/core/src/mem/mod.rs
Co-authored-by: Jules Bertholet <jules.bertholet@gmail.com>
1 parent 8ec9b78 commit 3e4b6f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/mem/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ pub const fn align_of_val<T: ?Sized>(val: &T) -> usize {
520520
/// [extern types]: ../../unstable-book/language-features/extern-types.html
521521
///
522522
/// It is important to note that the last point means that it would be *unsound*
523-
/// to implement `size_of_val` as an unconditional call to `size_of_val_raw`.
523+
/// to implement `align_of_val` as an unconditional call to `align_of_val_raw`.
524524
///
525525
/// # Examples
526526
///

0 commit comments

Comments
 (0)