Fixed spacing in documentation in matrix_view.rs

Fixed spacing in documentation.
This commit is contained in:
Adrian H 2024-04-23 08:30:24 +07:00 committed by GitHub
parent b7a2ae2841
commit 48d7b175a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -546,7 +546,7 @@ macro_rules! matrix_view_impl (
$me.$generic_view_with_steps(start, shape, steps) $me.$generic_view_with_steps(start, shape, steps)
} }
/// Slices this matrix starting at its component `(irow, icol)` and with `(RVIEW,CVIEW)` /// Slices this matrix starting at its component `(irow, icol)` and with `(RVIEW, CVIEW)`
/// consecutive components. /// consecutive components.
#[inline] #[inline]
#[deprecated = slice_deprecation_note!($fixed_view)] #[deprecated = slice_deprecation_note!($fixed_view)]
@ -556,7 +556,7 @@ macro_rules! matrix_view_impl (
} }
/// Return a view of this matrix starting at its component `(irow, icol)` and with /// Return a view of this matrix starting at its component `(irow, icol)` and with
/// `(RVIEW,CVIEW)` consecutive components. /// `(RVIEW, CVIEW)` consecutive components.
#[inline] #[inline]
pub fn $fixed_view<const RVIEW: usize, const CVIEW: usize>($me: $Me, irow: usize, icol: usize) pub fn $fixed_view<const RVIEW: usize, const CVIEW: usize>($me: $Me, irow: usize, icol: usize)
-> $MatrixView<'_, T, Const<RVIEW>, Const<CVIEW>, S::RStride, S::CStride> { -> $MatrixView<'_, T, Const<RVIEW>, Const<CVIEW>, S::RStride, S::CStride> {