mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-05 18:38:28 +00:00
Remove unused code
This commit is contained in:
parent
cba2af3904
commit
f98df7cfed
@ -25,7 +25,3 @@ impl Validate for Face {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// [`Face`] validation error
|
|
||||||
#[derive(Clone, Debug, thiserror::Error)]
|
|
||||||
pub enum FaceValidationError {}
|
|
||||||
|
@ -79,9 +79,8 @@ use crate::{
|
|||||||
};
|
};
|
||||||
|
|
||||||
pub use self::{
|
pub use self::{
|
||||||
edge::EdgeValidationError, face::FaceValidationError,
|
edge::EdgeValidationError, shell::ShellValidationError,
|
||||||
shell::ShellValidationError, sketch::SketchValidationError,
|
sketch::SketchValidationError, solid::SolidValidationError,
|
||||||
solid::SolidValidationError,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/// Assert that some object has a validation error which matches a specific
|
/// Assert that some object has a validation error which matches a specific
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
use std::{convert::Infallible, fmt};
|
use std::{convert::Infallible, fmt};
|
||||||
|
|
||||||
use crate::validate::{
|
use crate::validate::{
|
||||||
EdgeValidationError, FaceValidationError, ShellValidationError,
|
EdgeValidationError, ShellValidationError, SketchValidationError,
|
||||||
SketchValidationError, SolidValidationError,
|
SolidValidationError,
|
||||||
};
|
};
|
||||||
|
|
||||||
use super::checks::{
|
use super::checks::{
|
||||||
@ -29,10 +29,6 @@ pub enum ValidationError {
|
|||||||
#[error("`Edge` validation error")]
|
#[error("`Edge` validation error")]
|
||||||
Edge(#[from] EdgeValidationError),
|
Edge(#[from] EdgeValidationError),
|
||||||
|
|
||||||
/// `Face` validation error
|
|
||||||
#[error("`Face` validation error")]
|
|
||||||
Face(#[from] FaceValidationError),
|
|
||||||
|
|
||||||
/// `Shell` validation error
|
/// `Shell` validation error
|
||||||
#[error("`Shell` validation error")]
|
#[error("`Shell` validation error")]
|
||||||
Shell(#[from] ShellValidationError),
|
Shell(#[from] ShellValidationError),
|
||||||
|
Loading…
Reference in New Issue
Block a user