Refactor to prepare for follow-on change

This commit is contained in:
Hanno Braun 2024-05-21 21:42:01 +02:00
parent b69691e523
commit aeb5ac8131

View File

@ -113,16 +113,12 @@ impl ShellValidationError {
}
}
unmatched_half_edges
.into_values()
.cloned()
.map(|half_edge| {
errors.extend(unmatched_half_edges.into_values().cloned().map(
|half_edge| {
Self::HalfEdgeHasNoSibling(HalfEdgeHasNoSibling { half_edge })
.into()
})
.for_each(|err| {
errors.push(err);
});
},
));
}
/// Check that non-sibling half-edges are not coincident