From de8fb0faadf359322864f1e56ded5c0f7053996b Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Wed, 13 Mar 2024 14:12:06 +0100 Subject: [PATCH] Fix Clippy warning Now idea how that one made it past the CI build. I'll have to investigate. --- crates/fj-core/src/validate/sketch.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/fj-core/src/validate/sketch.rs b/crates/fj-core/src/validate/sketch.rs index d17a86284..83c06fb99 100644 --- a/crates/fj-core/src/validate/sketch.rs +++ b/crates/fj-core/src/validate/sketch.rs @@ -161,7 +161,7 @@ mod tests { let exterior = region.exterior(); let cloned_edges: Vec<_> = - exterior.half_edges().iter().map(|e| e.clone()).collect(); + exterior.half_edges().iter().cloned().collect(); let interior = Cycle::new(cloned_edges).insert(&mut core); let invalid_sketch =