From 7885e699ba06cff3ef3316214db38d88a9f17ba2 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Tue, 21 May 2024 21:52:54 +0200 Subject: [PATCH] Inline redundant function --- crates/fj-core/src/validate/shell.rs | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/crates/fj-core/src/validate/shell.rs b/crates/fj-core/src/validate/shell.rs index bf9967129..cd0a2e360 100644 --- a/crates/fj-core/src/validate/shell.rs +++ b/crates/fj-core/src/validate/shell.rs @@ -29,7 +29,7 @@ impl Validate for Shell { .map(Into::into), ); errors.extend( - ShellValidationError::check_half_edge_pairs(self, geometry, config) + HalfEdgeHasNoSibling::check(self, geometry, config) .map(ShellValidationError::HalfEdgeHasNoSibling) .map(Into::into), ); @@ -75,15 +75,6 @@ pub enum ShellValidationError { } impl ShellValidationError { - /// Check that each half-edge is part of a pair - fn check_half_edge_pairs<'r>( - object: &'r Shell, - geometry: &'r Geometry, - config: &'r ValidationConfig, - ) -> impl Iterator + 'r { - HalfEdgeHasNoSibling::check(object, geometry, config) - } - /// Check that non-sibling half-edges are not coincident fn check_half_edge_coincidence( shell: &Shell,