Skip to content

Commit 6e2f076

Browse files
committed
Use intra-doc links for links with anchors
1 parent d1838f6 commit 6e2f076

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

library/core/src/intrinsics.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2079,8 +2079,8 @@ pub(crate) fn is_nonoverlapping<T>(src: *const T, dst: *const T, count: usize) -
20792079
///
20802080
/// [`Copy`]: crate::marker::Copy
20812081
/// [`read`]: crate::ptr::read
2082-
/// [read-ownership]: ../ptr/fn.read.html#ownership-of-the-returned-value
2083-
/// [valid]: ../ptr/index.html#safety
2082+
/// [read-ownership]: crate::ptr::read
2083+
/// [valid]: crate::ptr
20842084
///
20852085
/// # Examples
20862086
///
@@ -2181,8 +2181,8 @@ pub unsafe fn copy_nonoverlapping<T>(src: *const T, dst: *mut T, count: usize) {
21812181
///
21822182
/// [`Copy`]: crate::marker::Copy
21832183
/// [`read`]: crate::ptr::read
2184-
/// [read-ownership]: ../ptr/fn.read.html#ownership-of-the-returned-value
2185-
/// [valid]: ../ptr/index.html#safety
2184+
/// [read-ownership]: crate::ptr::read
2185+
/// [valid]: crate::ptr
21862186
///
21872187
/// # Examples
21882188
///
@@ -2240,7 +2240,7 @@ pub unsafe fn copy<T>(src: *const T, dst: *mut T, count: usize) {
22402240
/// Note that even if the effectively copied size (`count * size_of::<T>()`) is
22412241
/// `0`, the pointer must be non-NULL and properly aligned.
22422242
///
2243-
/// [valid]: ../ptr/index.html#safety
2243+
/// [valid]: crate::ptr
22442244
///
22452245
/// # Examples
22462246
///

0 commit comments

Comments
 (0)