We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ec9b78 commit 3e4b6f5Copy full SHA for 3e4b6f5
library/core/src/mem/mod.rs
@@ -520,7 +520,7 @@ pub const fn align_of_val<T: ?Sized>(val: &T) -> usize {
520
/// [extern types]: ../../unstable-book/language-features/extern-types.html
521
///
522
/// 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`.
+/// to implement `align_of_val` as an unconditional call to `align_of_val_raw`.
524
525
/// # Examples
526
0 commit comments