Expect &Geometry in check_interior_cycles

This commit is contained in:
Hanno Braun 2024-03-18 12:46:27 +01:00
parent 24f08b6be2
commit f33f5ca712

View File

@ -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<ValidationError>,
) {