Skip to content

Commit d339cfe

Browse files
committed
Use intra-doc links for ptr::*
1 parent 2c79987 commit d339cfe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

library/core/src/intrinsics.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -985,7 +985,7 @@ extern "rust-intrinsic" {
985985
/// Drop glue is not run on the destination.
986986
///
987987
/// The stabilized version of this intrinsic is
988-
/// [`std::ptr::write`](../../std/ptr/fn.write.html).
988+
/// [`std::ptr::write`](crate::ptr::write).
989989
pub fn move_val_init<T>(dst: *mut T, src: T);
990990

991991
/// The minimum alignment of a type.
@@ -1372,12 +1372,12 @@ extern "rust-intrinsic" {
13721372
/// Performs a volatile load from the `src` pointer.
13731373
///
13741374
/// The stabilized version of this intrinsic is
1375-
/// [`std::ptr::read_volatile`](../../std/ptr/fn.read_volatile.html).
1375+
/// [`std::ptr::read_volatile`](crate::ptr::read_volatile).
13761376
pub fn volatile_load<T>(src: *const T) -> T;
13771377
/// Performs a volatile store to the `dst` pointer.
13781378
///
13791379
/// The stabilized version of this intrinsic is
1380-
/// [`std::ptr::write_volatile`](../../std/ptr/fn.write_volatile.html).
1380+
/// [`std::ptr::write_volatile`](crate::ptr::write_volatile).
13811381
pub fn volatile_store<T>(dst: *mut T, val: T);
13821382

13831383
/// Performs a volatile load from the `src` pointer

0 commit comments

Comments
 (0)