Skip to content

Commit 7cac209

Browse files
committed
add missing doc links
1 parent 228a0ed commit 7cac209

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libcore/mem/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,7 @@ pub fn size_of_val<T: ?Sized>(val: &T) -> usize {
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
///
@@ -498,6 +499,7 @@ pub fn align_of_val<T: ?Sized>(val: &T) -> usize {
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

Comments
 (0)