Skip to content

Commit

Permalink
Merge pull request #1639 from hannobraun/validate
Browse files Browse the repository at this point in the history
Remove unused validation error
  • Loading branch information
hannobraun authored Mar 2, 2023
2 parents c009be9 + 18ca697 commit 094bdba
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions crates/fj-kernel/src/validate/cycle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<SurfaceVertex>,

/// The back vertex of the next half-edge
next: Handle<SurfaceVertex>,
},

/// Mismatch between half-edge boundary and surface vertex position
#[error(
"Half-edge boundary on curve doesn't match surface vertex position\n\
Expand Down

0 comments on commit 094bdba

Please sign in to comment.