mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-17 15:28:04 +08:00
Remove dead code from document-legacy
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user