Remove unused code

This commit is contained in:
Hanno Braun 2024-03-22 14:24:58 +01:00
parent cba2af3904
commit f98df7cfed
3 changed files with 4 additions and 13 deletions

View File

@ -25,7 +25,3 @@ impl Validate for Face {
);
}
}
/// [`Face`] validation error
#[derive(Clone, Debug, thiserror::Error)]
pub enum FaceValidationError {}

View File

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

View File

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