Remove dead code from document-legacy

This commit is contained in:
Keavon Chambers
2023-05-06 17:03:40 -07:00
parent 53ae398591
commit 88fa95d18d
11 changed files with 99 additions and 498 deletions

View File

@@ -1,5 +1,4 @@
use super::LayerId;
use crate::boolean_ops::BooleanOperationError;
/// A set of different errors that can occur when using this crate.
#[derive(Debug, Clone, PartialEq, Eq)]
@@ -13,11 +12,4 @@ pub enum DocumentError {
NotText,
NotNodeGraph,
InvalidFile(String),
BooleanOperationError(BooleanOperationError),
}
impl From<BooleanOperationError> for DocumentError {
fn from(err: BooleanOperationError) -> Self {
DocumentError::BooleanOperationError(err)
}
}