mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-05 10:28:27 +00:00
Remove unused code
This commit is contained in:
parent
8b21004c00
commit
003cfada45
@ -15,7 +15,3 @@ impl Validate for HalfEdge {
|
||||
) {
|
||||
}
|
||||
}
|
||||
|
||||
/// [`HalfEdge`] validation failed
|
||||
#[derive(Clone, Debug, thiserror::Error)]
|
||||
pub enum EdgeValidationError {}
|
||||
|
@ -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
|
||||
|
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user