Remove unused code

This commit is contained in:
Hanno Braun 2024-03-27 10:56:20 +01:00
parent 8b21004c00
commit 003cfada45
3 changed files with 3 additions and 12 deletions

View File

@ -15,7 +15,3 @@ impl Validate for HalfEdge {
) {
}
}
/// [`HalfEdge`] validation failed
#[derive(Clone, Debug, thiserror::Error)]
pub enum EdgeValidationError {}

View File

@ -79,8 +79,8 @@ use crate::{
};
pub use self::{
edge::EdgeValidationError, shell::ShellValidationError,
sketch::SketchValidationError, solid::SolidValidationError,
shell::ShellValidationError, sketch::SketchValidationError,
solid::SolidValidationError,
};
/// Assert that some object has a validation error which matches a specific

View File

@ -1,8 +1,7 @@
use std::{convert::Infallible, fmt};
use crate::validate::{
EdgeValidationError, ShellValidationError, SketchValidationError,
SolidValidationError,
ShellValidationError, SketchValidationError, SolidValidationError,
};
use super::checks::{
@ -25,10 +24,6 @@ pub enum ValidationError {
#[error(transparent)]
InteriorCycleHasInvalidWinding(#[from] InteriorCycleHasInvalidWinding),
/// `Edge` validation error
#[error("`Edge` validation error")]
Edge(#[from] EdgeValidationError),
/// `Shell` validation error
#[error("`Shell` validation error")]
Shell(#[from] ShellValidationError),