From 6e2f07691791f4380ae7c27691b743d926a118b5 Mon Sep 17 00:00:00 2001 From: Denis Vasilik Date: Wed, 19 Aug 2020 15:22:04 +0200 Subject: [PATCH] Use intra-doc links for links with anchors --- library/core/src/intrinsics.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/library/core/src/intrinsics.rs b/library/core/src/intrinsics.rs index 469dd0cbdd8..ed38ba79257 100644 --- a/library/core/src/intrinsics.rs +++ b/library/core/src/intrinsics.rs @@ -2079,8 +2079,8 @@ pub(crate) fn is_nonoverlapping(src: *const T, dst: *const T, count: usize) - /// /// [`Copy`]: crate::marker::Copy /// [`read`]: crate::ptr::read -/// [read-ownership]: ../ptr/fn.read.html#ownership-of-the-returned-value -/// [valid]: ../ptr/index.html#safety +/// [read-ownership]: crate::ptr::read +/// [valid]: crate::ptr /// /// # Examples /// @@ -2181,8 +2181,8 @@ pub unsafe fn copy_nonoverlapping(src: *const T, dst: *mut T, count: usize) { /// /// [`Copy`]: crate::marker::Copy /// [`read`]: crate::ptr::read -/// [read-ownership]: ../ptr/fn.read.html#ownership-of-the-returned-value -/// [valid]: ../ptr/index.html#safety +/// [read-ownership]: crate::ptr::read +/// [valid]: crate::ptr /// /// # Examples /// @@ -2240,7 +2240,7 @@ pub unsafe fn copy(src: *const T, dst: *mut T, count: usize) { /// Note that even if the effectively copied size (`count * size_of::()`) is /// `0`, the pointer must be non-NULL and properly aligned. /// -/// [valid]: ../ptr/index.html#safety +/// [valid]: crate::ptr /// /// # Examples /// -- 2.44.0