remove a closure

This commit is contained in:
Magnus Ulimoen 2021-01-31 13:32:53 +01:00
parent b0e1ec62f8
commit 45e4d51513
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ pub(crate) mod constmatrix {
pub fn iter_rows(
&self,
) -> impl ExactSizeIterator<Item = &[T; N]> + DoubleEndedIterator<Item = &[T; N]> {
(0..M).map(move |i| &self[i])
self.data.iter()
}
pub fn flip(&self) -> Self