diff --git a/crates/fj-kernel/src/builder/cycle.rs b/crates/fj-kernel/src/builder/cycle.rs index 0de1fa0df..09f25cd30 100644 --- a/crates/fj-kernel/src/builder/cycle.rs +++ b/crates/fj-kernel/src/builder/cycle.rs @@ -68,7 +68,7 @@ impl CycleBuilder for PartialCycle { .with_surface(Some(surface.clone())) .update_as_line_from_points([position_prev, position_next]); - let [from, to] = [(0., vertex_prev), (1., vertex_next)].map( + let vertices = [(0., vertex_prev), (1., vertex_next)].map( |(position, surface_form)| { Vertex::partial() .with_curve(curve.clone()) @@ -80,7 +80,7 @@ impl CycleBuilder for PartialCycle { half_edges.push( HalfEdge::partial() .with_curve(curve) - .with_vertices([from, to]), + .with_vertices(vertices), ); continue;