diff options
| author | Denis Vasilik <contact@denisvasilik.com> | 2020-08-19 13:38:22 +0200 |
|---|---|---|
| committer | Denis Vasilik <contact@denisvasilik.com> | 2020-08-19 13:38:22 +0200 |
| commit | d339cfe4a120cfcd6db33e8c57efd040e5764738 (patch) | |
| tree | 23eabe8d567a70788f41c48893f5cf2b3648be01 | |
| parent | 2c7998720c3493573598c6b625141a29ea15c7ef (diff) | |
| download | rust-d339cfe4a120cfcd6db33e8c57efd040e5764738.tar.gz rust-d339cfe4a120cfcd6db33e8c57efd040e5764738.zip | |
Use intra-doc links for ptr::*
| -rw-r--r-- | library/core/src/intrinsics.rs | 6 |
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 |
