rust/integral-geometry/src/lib.rs
changeset 14173 5acfdf49742d
parent 14169 d3c9025abd13
child 14176 8f82d87d223f
--- a/rust/integral-geometry/src/lib.rs	Wed Nov 07 03:35:56 2018 +0300
+++ b/rust/integral-geometry/src/lib.rs	Wed Nov 07 15:55:00 2018 +0100
@@ -505,7 +505,6 @@
     }
 
     pub fn iter_mut<'a>(&'a mut self) -> impl Iterator<Item = &mut Point> + 'a {
-        let edges_count = self.edges_count();
         let start = self.vertices.as_mut_ptr();
         let end = unsafe { start.add(self.vertices.len()) };
         PolygonPointsIteratorMut {