diff --git a/crates/fj-kernel/src/builder/cycle.rs b/crates/fj-kernel/src/builder/cycle.rs index 2af64d211c..31d279e735 100644 --- a/crates/fj-kernel/src/builder/cycle.rs +++ b/crates/fj-kernel/src/builder/cycle.rs @@ -53,10 +53,11 @@ impl CycleBuilder for PartialCycle { points: impl IntoIterator>>, ) -> Vec> { let surface = surface.into(); + let points = points.into_iter().map(Into::into); let mut half_edges = Vec::new(); - for point in points.into_iter().map(Into::into) { + for point in points { let mut half_edge = self.add_half_edge(); {