From f33f5ca712a2ef413426da84ae9760bf33c293f4 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Mon, 18 Mar 2024 12:46:27 +0100 Subject: [PATCH] Expect `&Geometry` in `check_interior_cycles` --- crates/fj-core/src/validate/sketch.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/crates/fj-core/src/validate/sketch.rs b/crates/fj-core/src/validate/sketch.rs index c4b2e8dfa..53eb034e0 100644 --- a/crates/fj-core/src/validate/sketch.rs +++ b/crates/fj-core/src/validate/sketch.rs @@ -19,7 +19,9 @@ impl Validate for Sketch { SketchValidationError::check_exterior_cycles( self, geometry, config, errors, ); - SketchValidationError::check_interior_cycles(self, config, errors); + SketchValidationError::check_interior_cycles( + self, geometry, config, errors, + ); } } @@ -94,6 +96,7 @@ impl SketchValidationError { fn check_interior_cycles( sketch: &Sketch, + _: &Geometry, _config: &ValidationConfig, errors: &mut Vec, ) {