Skip to content

Commit fb435df

Browse files
committed
fix valid link
1 parent 049d230 commit fb435df

File tree

1 file changed

+3
-0
lines changed
  • library/core/src/intrinsics

1 file changed

+3
-0
lines changed

library/core/src/intrinsics/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2056,6 +2056,8 @@ pub unsafe fn volatile_copy_memory<T>(_dst: *mut T, _src: *const T, _count: usiz
20562056
///
20572057
/// Note that even if `T` has size `0`, the pointer must be properly aligned.
20582058
///
2059+
/// [valid]: crate::ptr#safety
2060+
///
20592061
/// This intrinsic does not have a stable counterpart.
20602062
#[rustc_intrinsic]
20612063
#[rustc_intrinsic_must_be_overridden]
@@ -3988,6 +3990,7 @@ pub const fn is_val_statically_known<T: Copy>(_arg: T) -> bool {
39883990
/// * The region of memory beginning at `x` must *not* overlap with the region of memory
39893991
/// beginning at `y`.
39903992
///
3993+
/// [valid]: crate::ptr#safety
39913994
#[rustc_nounwind]
39923995
#[inline]
39933996
#[rustc_intrinsic]

0 commit comments

Comments
 (0)