about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDenis Vasilik <contact@denisvasilik.com>2020-08-19 13:38:22 +0200
committerDenis Vasilik <contact@denisvasilik.com>2020-08-19 13:38:22 +0200
commitd339cfe4a120cfcd6db33e8c57efd040e5764738 (patch)
tree23eabe8d567a70788f41c48893f5cf2b3648be01
parent2c7998720c3493573598c6b625141a29ea15c7ef (diff)
downloadrust-d339cfe4a120cfcd6db33e8c57efd040e5764738.tar.gz
rust-d339cfe4a120cfcd6db33e8c57efd040e5764738.zip
Use intra-doc links for ptr::*
-rw-r--r--library/core/src/intrinsics.rs6
1 files 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<T>(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<T>(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<T>(dst: *mut T, val: T);
 
     /// Performs a volatile load from the `src` pointer