rust/land2d/src/lib.rs
changeset 14175 a4c1a2d0ac24
parent 14165 c24a76f131d6
child 14212 bb2f301d4fe0
--- a/rust/land2d/src/lib.rs	Thu Nov 08 00:00:58 2018 +0100
+++ b/rust/land2d/src/lib.rs	Thu Nov 08 07:15:22 2018 +0300
@@ -84,7 +84,7 @@
     }
 
     #[inline]
-    pub fn rows(&self) -> impl Iterator<Item = &[T]> {
+    pub fn rows(&self) -> impl DoubleEndedIterator<Item = &[T]> {
         self.pixels.rows()
     }