rust/integral-geometry/src/lib.rs
changeset 14112 f04bc39f0c05
parent 14108 36b792842d5b
child 14124 6e0be42d0a8f
--- a/rust/integral-geometry/src/lib.rs	Sat Nov 03 07:31:35 2018 +0300
+++ b/rust/integral-geometry/src/lib.rs	Sat Nov 03 07:52:34 2018 +0300
@@ -354,8 +354,8 @@
         [
             Rect::from_box(self.left(), point.x, self.top(), point.y),
             Rect::from_box(point.x, self.right(), self.top(), point.y),
-            Rect::from_box(self.left(), point.x, point.y, self.bottom()),
-            Rect::from_box(point.x, self.right(), point.y, self.bottom())
+            Rect::from_box(point.x, self.right(), point.y, self.bottom()),
+            Rect::from_box(self.left(), point.x, point.y, self.bottom())
         ]
     }
 }