diff --git a/crates/fj-core/src/validate/shell.rs b/crates/fj-core/src/validate/shell.rs index 2681e9530..bc49752bd 100644 --- a/crates/fj-core/src/validate/shell.rs +++ b/crates/fj-core/src/validate/shell.rs @@ -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