formatting

This commit is contained in:
geo-ant 2022-11-13 17:18:02 +01:00 committed by Sébastien Crozet
parent ae5bca75f7
commit 66dfaf824a
1 changed files with 5 additions and 4 deletions

View File

@ -148,8 +148,7 @@ where
#[cfg_attr(doc_cfg, doc(cfg(feature = "par-iter")))] #[cfg_attr(doc_cfg, doc(cfg(feature = "par-iter")))]
/// # Parallel iterators using `rayon` /// # Parallel iterators using `rayon`
/// *Only availabe if compiled with the feature `par-iter`* /// *Only availabe if compiled with the feature `par-iter`*
impl<T, R: Dim, Cols: Dim, S: RawStorage<T, R, Cols>> impl<T, R: Dim, Cols: Dim, S: RawStorage<T, R, Cols>> Matrix<T, R, Cols, S>
Matrix<T, R, Cols, S>
where where
T: Send + Sync + Scalar, T: Send + Sync + Scalar,
S: Sync, S: Sync,
@ -207,8 +206,10 @@ where
/// ``` /// ```
/// ///
/// [`par_column_iter`]: crate::Matrix::par_column_iter /// [`par_column_iter`]: crate::Matrix::par_column_iter
pub fn par_column_iter_mut(&mut self) -> ParColumnIterMut<'_, T, R, Cols, S> pub fn par_column_iter_mut(&mut self) -> ParColumnIterMut<'_, T, R, Cols, S>
where S: RawStorageMut<T, R, Cols>{ where
S: RawStorageMut<T, R, Cols>,
{
ParColumnIterMut::new(self) ParColumnIterMut::new(self)
} }
} }