From 66dfaf824adec8784e0213ca99829452dd54bec5 Mon Sep 17 00:00:00 2001 From: geo-ant <54497890+geo-ant@users.noreply.github.com> Date: Sun, 13 Nov 2022 17:18:02 +0100 Subject: [PATCH] formatting --- src/base/par_iter.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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) } }