@@ -358,12 +358,13 @@ pub fn size_of_val<T: ?Sized>(val: &T) -> usize {
358358/// - an (unstable) [extern type], then this function is always safe to
359359/// call, but may panic or otherwise return the wrong value, as the
360360/// extern type's layout is not known. This is the same behavior as
361- /// [`size_of_val`] on a reference to an extern type tail.
361+ /// [`size_of_val`] on a reference to a type with an extern type tail.
362362/// - otherwise, it is conservatively not allowed to call this function.
363363///
364364/// [slice]: ../../std/primitive.slice.html
365365/// [trait object]: ../../book/ch17-02-trait-objects.html
366366/// [extern type]: ../../unstable-book/language-features/extern-types.html
367+ /// [`size_of_val`]: ../../core/mem/fn.size_of_val.html
367368///
368369/// # Examples
369370///
@@ -492,12 +493,13 @@ pub fn align_of_val<T: ?Sized>(val: &T) -> usize {
492493/// - an (unstable) [extern type], then this function is always safe to
493494/// call, but may panic or otherwise return the wrong value, as the
494495/// extern type's layout is not known. This is the same behavior as
495- /// [`align_of_val`] on a reference to an extern type tail.
496+ /// [`align_of_val`] on a reference to a type with an extern type tail.
496497/// - otherwise, it is conservatively not allowed to call this function.
497498///
498499/// [slice]: ../../std/primitive.slice.html
499500/// [trait object]: ../../book/ch17-02-trait-objects.html
500501/// [extern type]: ../../unstable-book/language-features/extern-types.html
502+ /// [`align_of_val`]: ../../core/mem/fn.align_of_val.html
501503///
502504/// # Examples
503505///
0 commit comments