@@ -5390,7 +5390,7 @@ unsafe impl<'a, T> TrustedRandomAccess for ChunksMut<'a, T> {
5390
5390
/// This struct is created by the [`chunks_exact`] method on [slices].
5391
5391
///
5392
5392
/// [`chunks_exact`]: ../../std/primitive.slice.html#method.chunks_exact
5393
- /// [`remainder`]: ../../std/slice/struct. ChunksExact.html#method. remainder
5393
+ /// [`remainder`]: ChunksExact:: remainder
5394
5394
/// [slices]: ../../std/primitive.slice.html
5395
5395
#[ derive( Debug ) ]
5396
5396
#[ stable( feature = "chunks_exact" , since = "1.31.0" ) ]
@@ -5530,7 +5530,7 @@ unsafe impl<'a, T> TrustedRandomAccess for ChunksExact<'a, T> {
5530
5530
/// This struct is created by the [`chunks_exact_mut`] method on [slices].
5531
5531
///
5532
5532
/// [`chunks_exact_mut`]: ../../std/primitive.slice.html#method.chunks_exact_mut
5533
- /// [`into_remainder`]: ../../std/slice/struct. ChunksExactMut.html#method. into_remainder
5533
+ /// [`into_remainder`]: ChunksExactMut:: into_remainder
5534
5534
/// [slices]: ../../std/primitive.slice.html
5535
5535
#[ derive( Debug ) ]
5536
5536
#[ stable( feature = "chunks_exact" , since = "1.31.0" ) ]
@@ -5667,7 +5667,7 @@ unsafe impl<'a, T> TrustedRandomAccess for ChunksExactMut<'a, T> {
5667
5667
/// This struct is created by the [`array_chunks`] method on [slices].
5668
5668
///
5669
5669
/// [`array_chunks`]: ../../std/primitive.slice.html#method.array_chunks
5670
- /// [`remainder`]: ../../std/slice/struct. ArrayChunks.html#method. remainder
5670
+ /// [`remainder`]: ArrayChunks:: remainder
5671
5671
/// [slices]: ../../std/primitive.slice.html
5672
5672
#[ derive( Debug ) ]
5673
5673
#[ unstable( feature = "array_chunks" , issue = "74985" ) ]
@@ -6072,7 +6072,7 @@ unsafe impl<'a, T> TrustedRandomAccess for RChunksMut<'a, T> {
6072
6072
/// This struct is created by the [`rchunks_exact`] method on [slices].
6073
6073
///
6074
6074
/// [`rchunks_exact`]: ../../std/primitive.slice.html#method.rchunks_exact
6075
- /// [`remainder`]: ../../std/slice/struct. ChunksExact.html#method. remainder
6075
+ /// [`remainder`]: ChunksExact:: remainder
6076
6076
/// [slices]: ../../std/primitive.slice.html
6077
6077
#[ derive( Debug ) ]
6078
6078
#[ stable( feature = "rchunks" , since = "1.31.0" ) ]
@@ -6217,7 +6217,7 @@ unsafe impl<'a, T> TrustedRandomAccess for RChunksExact<'a, T> {
6217
6217
/// This struct is created by the [`rchunks_exact_mut`] method on [slices].
6218
6218
///
6219
6219
/// [`rchunks_exact_mut`]: ../../std/primitive.slice.html#method.rchunks_exact_mut
6220
- /// [`into_remainder`]: ../../std/slice/struct. ChunksExactMut.html#method. into_remainder
6220
+ /// [`into_remainder`]: ChunksExactMut:: into_remainder
6221
6221
/// [slices]: ../../std/primitive.slice.html
6222
6222
#[ derive( Debug ) ]
6223
6223
#[ stable( feature = "rchunks" , since = "1.31.0" ) ]
@@ -6427,8 +6427,8 @@ unsafe impl<'a, T> TrustedRandomAccess for RChunksExactMut<'a, T> {
6427
6427
/// }
6428
6428
/// ```
6429
6429
///
6430
- /// [valid]: ../../std/ ptr/index.html #safety
6431
- /// [`NonNull::dangling()`]: ../../std/ ptr/struct. NonNull.html#method. dangling
6430
+ /// [valid]: ptr#safety
6431
+ /// [`NonNull::dangling()`]: ptr:: NonNull:: dangling
6432
6432
/// [`pointer::offset`]: ../../std/primitive.pointer.html#method.offset
6433
6433
#[ inline]
6434
6434
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -6467,10 +6467,9 @@ pub unsafe fn from_raw_parts<'a, T>(data: *const T, len: usize) -> &'a [T] {
6467
6467
/// * The total size `len * mem::size_of::<T>()` of the slice must be no larger than `isize::MAX`.
6468
6468
/// See the safety documentation of [`pointer::offset`].
6469
6469
///
6470
- /// [valid]: ../../std/ ptr/index.html #safety
6471
- /// [`NonNull::dangling()`]: ../../std/ ptr/struct. NonNull.html#method. dangling
6470
+ /// [valid]: ptr#safety
6471
+ /// [`NonNull::dangling()`]: ptr:: NonNull:: dangling
6472
6472
/// [`pointer::offset`]: ../../std/primitive.pointer.html#method.offset
6473
- /// [`from_raw_parts`]: ../../std/slice/fn.from_raw_parts.html
6474
6473
#[ inline]
6475
6474
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
6476
6475
pub unsafe fn from_raw_parts_mut < ' a , T > ( data : * mut T , len : usize ) -> & ' a mut [ T ] {
0 commit comments