@@ -649,7 +649,7 @@ pub const fn invalid_mut<T>(addr: usize) -> *mut T {
649
649
/// address makes sense in the address space that this pointer will be used with.
650
650
///
651
651
/// Using this function means that code is *not* following [Strict
652
- /// Provenance][../index.html #strict-provenance] rules. "Guessing" a
652
+ /// Provenance][self #strict-provenance] rules. "Guessing" a
653
653
/// suitable provenance complicates specification and reasoning and may not be supported by
654
654
/// tools that help you to stay conformant with the Rust memory model, so it is recommended to
655
655
/// use [`with_addr`][pointer::with_addr] wherever possible.
@@ -660,7 +660,7 @@ pub const fn invalid_mut<T>(addr: usize) -> *mut T {
660
660
/// pointer has to pick up.
661
661
///
662
662
/// It is unclear whether this function can be given a satisfying unambiguous specification. This
663
- /// API and its claimed semantics are part of [Exposed Provenance][../index.html #exposed-provenance].
663
+ /// API and its claimed semantics are part of [Exposed Provenance][self #exposed-provenance].
664
664
#[ must_use]
665
665
#[ inline( always) ]
666
666
#[ unstable( feature = "exposed_provenance" , issue = "95228" ) ]
@@ -689,7 +689,7 @@ where
689
689
/// address makes sense in the address space that this pointer will be used with.
690
690
///
691
691
/// Using this function means that code is *not* following [Strict
692
- /// Provenance][../index.html #strict-provenance] rules. "Guessing" a
692
+ /// Provenance][self #strict-provenance] rules. "Guessing" a
693
693
/// suitable provenance complicates specification and reasoning and may not be supported by
694
694
/// tools that help you to stay conformant with the Rust memory model, so it is recommended to
695
695
/// use [`with_addr`][pointer::with_addr] wherever possible.
@@ -700,7 +700,7 @@ where
700
700
/// pointer has to pick up.
701
701
///
702
702
/// It is unclear whether this function can be given a satisfying unambiguous specification. This
703
- /// API and its claimed semantics are part of [Exposed Provenance][../index.html #exposed-provenance].
703
+ /// API and its claimed semantics are part of [Exposed Provenance][self #exposed-provenance].
704
704
#[ must_use]
705
705
#[ inline( always) ]
706
706
#[ unstable( feature = "exposed_provenance" , issue = "95228" ) ]
0 commit comments