Skip to content

Commit f71919c

Browse files
committed
Fix anchor links
1 parent 6e2f076 commit f71919c

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]: crate::ptr::read
2083-
/// [valid]: crate::ptr
2082+
/// [read-ownership]: crate::ptr::read#ownership-of-the-returned-value
2083+
/// [valid]: crate::ptr#safety
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]: crate::ptr::read
2185-
/// [valid]: crate::ptr
2184+
/// [read-ownership]: crate::ptr::read#ownership-of-the-returned-value
2185+
/// [valid]: crate::ptr#safety
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]: crate::ptr
2243+
/// [valid]: crate::ptr#safety
22442244
///
22452245
/// # Examples
22462246
///

0 commit comments

Comments
 (0)