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 =