From d987a7e6bf0df8056839973ceda976e50fa59296 Mon Sep 17 00:00:00 2001 From: Cedric Liegeois Date: Sat, 2 Mar 2024 18:54:01 +1100 Subject: [PATCH] clippy --- src/spherical/sloop.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spherical/sloop.rs b/src/spherical/sloop.rs index 3b76d2f..bc45398 100644 --- a/src/spherical/sloop.rs +++ b/src/spherical/sloop.rs @@ -822,7 +822,7 @@ fn next_ear(remaining: &mut Vec) -> Option<(NVector, NVector, NVector)> /// - a vertex is a reflex if left of [previous, next], /// - a vertex is a convex if right of [previous, next], /// - otherwise it's both -fn re_classify(vertices: &mut Vec, ear_index: usize) { +fn re_classify(vertices: &mut [Vertex], ear_index: usize) { let len = vertices.len(); let last = len - 1; if ear_index == 0 || ear_index == len {