From 18ca697c69c022f5a07edc02564f181f4e5fea5f Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Thu, 2 Mar 2023 11:12:18 +0100 Subject: [PATCH] Remove unused validation error --- crates/fj-kernel/src/validate/cycle.rs | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/crates/fj-kernel/src/validate/cycle.rs b/crates/fj-kernel/src/validate/cycle.rs index 46defb58a..ad59412d5 100644 --- a/crates/fj-kernel/src/validate/cycle.rs +++ b/crates/fj-kernel/src/validate/cycle.rs @@ -22,20 +22,6 @@ impl Validate for Cycle { /// [`Cycle`] validation error #[derive(Clone, Debug, thiserror::Error)] pub enum CycleValidationError { - /// Half-edges are not connected - #[error( - "`HalfEdge`s of `Cycle` are not connected\n\ - - Front vertex of previous `HalfEdge`: {prev:#?}\n\ - - Back vertex of next `HalfEdge`: {next:#?}" - )] - HalfEdgeConnection { - /// The front vertex of the previous half-edge - prev: Handle, - - /// The back vertex of the next half-edge - next: Handle, - }, - /// Mismatch between half-edge boundary and surface vertex position #[error( "Half-edge boundary on curve doesn't match surface vertex position\n\