From e84ea21c74b82aa10fe4cbf6957e802a1ef2bb02 Mon Sep 17 00:00:00 2001 From: Adrian H Date: Tue, 23 Apr 2024 09:51:49 +0700 Subject: [PATCH] Fixed a typo in documentation in matrix_view.rs --- src/base/matrix_view.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/base/matrix_view.rs b/src/base/matrix_view.rs index ab3d68ce..a5f2681e 100644 --- a/src/base/matrix_view.rs +++ b/src/base/matrix_view.rs @@ -546,8 +546,8 @@ macro_rules! matrix_view_impl ( $me.$generic_view_with_steps(start, shape, steps) } - /// Slices this matrix starting at its component `(irow, icol)` and with `(R::dim(), - /// CView::dim())` consecutive components. + /// Slices this matrix starting at its component `(irow, icol)` and with `(RVIEW, CVIEW)` + /// consecutive components. #[inline] #[deprecated = slice_deprecation_note!($fixed_view)] pub fn $fixed_slice($me: $Me, irow: usize, icol: usize) @@ -555,8 +555,8 @@ macro_rules! matrix_view_impl ( $me.$fixed_view(irow, icol) } - /// Return a view of this matrix starting at its component `(irow, icol)` and with `(R::dim(), - /// CView::dim())` consecutive components. + /// Return a view of this matrix starting at its component `(irow, icol)` and with + /// `(RVIEW, CVIEW)` consecutive components. #[inline] pub fn $fixed_view($me: $Me, irow: usize, icol: usize) -> $MatrixView<'_, T, Const, Const, S::RStride, S::CStride> {