diff --git a/src/shape/convex_polygon.rs b/src/shape/convex_polygon.rs index 7f092173..8a812053 100644 --- a/src/shape/convex_polygon.rs +++ b/src/shape/convex_polygon.rs @@ -65,8 +65,8 @@ impl ConvexPolygon { let new_length = points.len() - nremoved; points.truncate(new_length); normals.truncate(new_length); - - if points.len() > 2 { + + if points.len() > 2 { Some(ConvexPolygon { points, normals }) } else { None