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