From d7159c3ba319893dee598058950d742341e6d968 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Fri, 4 Apr 2025 12:42:29 +0200 Subject: [PATCH] Make name of closure parameter more explicit --- experiments/2025-03-18/src/operations/connect.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/experiments/2025-03-18/src/operations/connect.rs b/experiments/2025-03-18/src/operations/connect.rs index 7e116ee1c..79b09ba4d 100644 --- a/experiments/2025-03-18/src/operations/connect.rs +++ b/experiments/2025-03-18/src/operations/connect.rs @@ -55,7 +55,10 @@ fn build_connecting_faces(bottom: &Face, top: &Face) -> Vec> { .half_edges_with_end_vertex() .zip(top.half_edges_with_end_vertex()) .map( - |((bottom_half_edge, bottom_half_edge_end), (top_a, top_b))| { + |( + (bottom_half_edge, bottom_half_edge_end), + (top_a, top_half_edge_end), + )| { let is_internal = match [ bottom_half_edge.is_internal, top_a.is_internal, @@ -72,7 +75,7 @@ fn build_connecting_faces(bottom: &Face, top: &Face) -> Vec> { let a = &bottom_half_edge.start; let b = bottom_half_edge_end; - let c = top_b; + let c = top_half_edge_end; let surface = Handle::new(Surface { geometry: Box::new(Plane::from_points(