From e5b0d9df9e1f305bc1e14c2c177affa92f721ed1 Mon Sep 17 00:00:00 2001 From: Okko Hakola Date: Wed, 7 Feb 2024 12:00:15 +0200 Subject: [PATCH] Fmt --- src/shape/convex_polygon.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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