diff -r 54e2a3698425 -r 85645992bc8a rust/integral-geometry/src/lib.rs --- a/rust/integral-geometry/src/lib.rs Fri Oct 19 00:49:09 2018 +0300 +++ b/rust/integral-geometry/src/lib.rs Fri Oct 19 00:09:45 2018 +0200 @@ -154,6 +154,8 @@ Some(result) } else if self.point.x == self.point.y { + self.point.x += 1; + Some(self.point) } else { None