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