diff options
| author | Thomas Hellström <thomas.hellstrom@linux.intel.com> | 2025-12-04 22:54:56 +0100 |
|---|---|---|
| committer | Thomas Hellström <thomas.hellstrom@linux.intel.com> | 2025-12-04 22:54:56 +0100 |
| commit | 3f1c07fc21c68bd3bd2df9d2c9441f6485e934d9 (patch) | |
| tree | 2bbe746323ca53170b1c6f18f67178021d5854f5 /rust/kernel/slice.rs | |
| parent | d72312d730450aab225a80bc84436757b85b08b5 (diff) | |
| parent | 0692602defb0c273f80dec9c564ca50726404aca (diff) | |
Merge drm/drm-next into drm-xe-next-fixes
Backmerging to be able do to a clean PR.
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Diffstat (limited to 'rust/kernel/slice.rs')
| -rw-r--r-- | rust/kernel/slice.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rust/kernel/slice.rs b/rust/kernel/slice.rs index 6ca91a4fd1f2..ca2cde135061 100644 --- a/rust/kernel/slice.rs +++ b/rust/kernel/slice.rs @@ -16,22 +16,22 @@ /// /// This trait can be removed once the MSRV passes 1.80. /// -/// [`as_flattened`]: slice::as_flattened -/// [`as_flattened_mut`]: slice::as_flattened_mut +/// [`as_flattened`]: https://doc.rust-lang.org/std/primitive.slice.html#method.as_flattened +/// [`as_flattened_mut`]: https://doc.rust-lang.org/std/primitive.slice.html#method.as_flattened_mut #[cfg(not(CONFIG_RUSTC_HAS_SLICE_AS_FLATTENED))] pub trait AsFlattened<T> { /// Takes a `&[[T; N]]` and flattens it to a `&[T]`. /// /// This is an portable layer on top of [`as_flattened`]; see its documentation for details. /// - /// [`as_flattened`]: slice::as_flattened + /// [`as_flattened`]: https://doc.rust-lang.org/std/primitive.slice.html#method.as_flattened fn as_flattened(&self) -> &[T]; /// Takes a `&mut [[T; N]]` and flattens it to a `&mut [T]`. /// /// This is an portable layer on top of [`as_flattened_mut`]; see its documentation for details. /// - /// [`as_flattened_mut`]: slice::as_flattened_mut + /// [`as_flattened_mut`]: https://doc.rust-lang.org/std/primitive.slice.html#method.as_flattened_mut fn as_flattened_mut(&mut self) -> &mut [T]; } |
