Make name of closure parameter more explicit

This commit is contained in:
Hanno Braun 2025-04-04 12:42:29 +02:00
parent 2eae83ed01
commit d7159c3ba3

View File

@ -55,7 +55,10 @@ fn build_connecting_faces(bottom: &Face, top: &Face) -> Vec<Handle<Face>> {
.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<Handle<Face>> {
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(