@@ -649,7 +649,7 @@ pub const fn invalid_mut<T>(addr: usize) -> *mut T {
649649/// address makes sense in the address space that this pointer will be used with.
650650///
651651/// 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
653653/// suitable provenance complicates specification and reasoning and may not be supported by
654654/// tools that help you to stay conformant with the Rust memory model, so it is recommended to
655655/// use [`with_addr`][pointer::with_addr] wherever possible.
@@ -660,7 +660,7 @@ pub const fn invalid_mut<T>(addr: usize) -> *mut T {
660660/// pointer has to pick up.
661661///
662662/// 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].
664664#[ must_use]
665665#[ inline( always) ]
666666#[ unstable( feature = "exposed_provenance" , issue = "95228" ) ]
@@ -689,7 +689,7 @@ where
689689/// address makes sense in the address space that this pointer will be used with.
690690///
691691/// 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
693693/// suitable provenance complicates specification and reasoning and may not be supported by
694694/// tools that help you to stay conformant with the Rust memory model, so it is recommended to
695695/// use [`with_addr`][pointer::with_addr] wherever possible.
@@ -700,7 +700,7 @@ where
700700/// pointer has to pick up.
701701///
702702/// 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].
704704#[ must_use]
705705#[ inline( always) ]
706706#[ unstable( feature = "exposed_provenance" , issue = "95228" ) ]
0 commit comments