remove a closure
This commit is contained in:
parent
b0e1ec62f8
commit
45e4d51513
|
@ -73,7 +73,7 @@ pub(crate) mod constmatrix {
|
||||||
pub fn iter_rows(
|
pub fn iter_rows(
|
||||||
&self,
|
&self,
|
||||||
) -> impl ExactSizeIterator<Item = &[T; N]> + DoubleEndedIterator<Item = &[T; N]> {
|
) -> impl ExactSizeIterator<Item = &[T; N]> + DoubleEndedIterator<Item = &[T; N]> {
|
||||||
(0..M).map(move |i| &self[i])
|
self.data.iter()
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn flip(&self) -> Self
|
pub fn flip(&self) -> Self
|
||||||
|
|
Loading…
Reference in New Issue