@@ -931,7 +931,7 @@ extern "rust-intrinsic" {
931931 /// reach code marked with this function.
932932 ///
933933 /// The stabilized version of this intrinsic is
934- /// [`std::hint::unreachable_unchecked`](../../std/ hint/fn. unreachable_unchecked.html ).
934+ /// [`std::hint::unreachable_unchecked`](crate:: hint:: unreachable_unchecked).
935935 #[ rustc_const_unstable( feature = "const_unreachable_unchecked" , issue = "53188" ) ]
936936 pub fn unreachable ( ) -> !;
937937
@@ -1016,7 +1016,7 @@ extern "rust-intrinsic" {
10161016 /// Gets a static string slice containing the name of a type.
10171017 ///
10181018 /// The stabilized version of this intrinsic is
1019- /// [`std::any::type_name`](../../std/ any/fn. type_name.html )
1019+ /// [`std::any::type_name`](crate:: any:: type_name)
10201020 #[ rustc_const_unstable( feature = "const_type_name" , issue = "63084" ) ]
10211021 pub fn type_name < T : ?Sized > ( ) -> & ' static str ;
10221022
@@ -1025,7 +1025,7 @@ extern "rust-intrinsic" {
10251025 /// crate it is invoked in.
10261026 ///
10271027 /// The stabilized version of this intrinsic is
1028- /// [`std::any::TypeId::of`](../../std/ any/struct. TypeId.html#method. of)
1028+ /// [`std::any::TypeId::of`](crate:: any:: TypeId:: of)
10291029 #[ rustc_const_stable( feature = "const_type_id" , since = "1.46.0" ) ]
10301030 pub fn type_id < T : ?Sized + ' static > ( ) -> u64 ;
10311031
@@ -1049,7 +1049,7 @@ extern "rust-intrinsic" {
10491049
10501050 /// Gets a reference to a static `Location` indicating where it was called.
10511051 ///
1052- /// Consider using [`std::panic::Location::caller`](../../std/ panic/struct. Location.html#method. caller)
1052+ /// Consider using [`std::panic::Location::caller`](crate:: panic:: Location:: caller)
10531053 /// instead.
10541054 #[ rustc_const_unstable( feature = "const_caller_location" , issue = "47809" ) ]
10551055 pub fn caller_location ( ) -> & ' static crate :: panic:: Location < ' static > ;
@@ -2053,7 +2053,6 @@ pub(crate) fn is_nonoverlapping<T>(src: *const T, dst: *const T, count: usize) -
20532053/// `copy_nonoverlapping` is semantically equivalent to C's [`memcpy`], but
20542054/// with the argument order swapped.
20552055///
2056- /// [`copy`]: ./fn.copy.html
20572056/// [`memcpy`]: https://en.cppreference.com/w/c/string/byte/memcpy
20582057///
20592058/// # Safety
@@ -2078,8 +2077,8 @@ pub(crate) fn is_nonoverlapping<T>(src: *const T, dst: *const T, count: usize) -
20782077/// Note that even if the effectively copied size (`count * size_of::<T>()`) is
20792078/// `0`, the pointers must be non-NULL and properly aligned.
20802079///
2081- /// [`Copy`]: ../ marker/trait. Copy.html
2082- /// [`read`]: ../ ptr/fn. read.html
2080+ /// [`Copy`]: crate:: marker:: Copy
2081+ /// [`read`]: crate:: ptr:: read
20832082/// [read-ownership]: ../ptr/fn.read.html#ownership-of-the-returned-value
20842083/// [valid]: ../ptr/index.html#safety
20852084///
@@ -2160,7 +2159,6 @@ pub unsafe fn copy_nonoverlapping<T>(src: *const T, dst: *mut T, count: usize) {
21602159/// order swapped. Copying takes place as if the bytes were copied from `src`
21612160/// to a temporary array and then copied from the array to `dst`.
21622161///
2163- /// [`copy_nonoverlapping`]: ./fn.copy_nonoverlapping.html
21642162/// [`memmove`]: https://en.cppreference.com/w/c/string/byte/memmove
21652163///
21662164/// # Safety
@@ -2181,8 +2179,8 @@ pub unsafe fn copy_nonoverlapping<T>(src: *const T, dst: *mut T, count: usize) {
21812179/// Note that even if the effectively copied size (`count * size_of::<T>()`) is
21822180/// `0`, the pointers must be non-NULL and properly aligned.
21832181///
2184- /// [`Copy`]: ../ marker/trait. Copy.html
2185- /// [`read`]: ../ ptr/fn. read.html
2182+ /// [`Copy`]: crate:: marker:: Copy
2183+ /// [`read`]: crate:: ptr:: read
21862184/// [read-ownership]: ../ptr/fn.read.html#ownership-of-the-returned-value
21872185/// [valid]: ../ptr/index.html#safety
21882186///
0 commit comments