From d339cfe4a120cfcd6db33e8c57efd040e5764738 Mon Sep 17 00:00:00 2001 From: Denis Vasilik Date: Wed, 19 Aug 2020 13:38:22 +0200 Subject: [PATCH] Use intra-doc links for ptr::* --- library/core/src/intrinsics.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/library/core/src/intrinsics.rs b/library/core/src/intrinsics.rs index c3658c044f2..ae104500106 100644 --- a/library/core/src/intrinsics.rs +++ b/library/core/src/intrinsics.rs @@ -985,7 +985,7 @@ extern "rust-intrinsic" { /// Drop glue is not run on the destination. /// /// The stabilized version of this intrinsic is - /// [`std::ptr::write`](../../std/ptr/fn.write.html). + /// [`std::ptr::write`](crate::ptr::write). pub fn move_val_init(dst: *mut T, src: T); /// The minimum alignment of a type. @@ -1372,12 +1372,12 @@ extern "rust-intrinsic" { /// Performs a volatile load from the `src` pointer. /// /// The stabilized version of this intrinsic is - /// [`std::ptr::read_volatile`](../../std/ptr/fn.read_volatile.html). + /// [`std::ptr::read_volatile`](crate::ptr::read_volatile). pub fn volatile_load(src: *const T) -> T; /// Performs a volatile store to the `dst` pointer. /// /// The stabilized version of this intrinsic is - /// [`std::ptr::write_volatile`](../../std/ptr/fn.write_volatile.html). + /// [`std::ptr::write_volatile`](crate::ptr::write_volatile). pub fn volatile_store(dst: *mut T, val: T); /// Performs a volatile load from the `src` pointer