Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ofmooseandmen committed Mar 2, 2024
1 parent d183a2f commit d987a7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spherical/sloop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ fn next_ear(remaining: &mut Vec<Vertex>) -> 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<Vertex>, 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 {
Expand Down

0 comments on commit d987a7e

Please sign in to comment.