diff --git a/src/proc.rs b/src/proc.rs index b2e9498..f3152e6 100644 --- a/src/proc.rs +++ b/src/proc.rs @@ -69,7 +69,6 @@ enum UnintentionalEntityState { } pub struct UnintentionalEntityPrevention { - // Start of ampersand if state is not Safe; otherwise simply the last `write_next` value of proc. last_write_next: usize, ampersand_pos: usize, state: UnintentionalEntityState, diff --git a/src/unit/entity.rs b/src/unit/entity.rs index b8453e2..11cad85 100644 --- a/src/unit/entity.rs +++ b/src/unit/entity.rs @@ -39,15 +39,6 @@ pub enum EntityType { Numeric(char), } -impl EntityType { - pub fn is_malformed(&self) -> bool { - match self { - EntityType::Malformed(_) => true, - _ => false, - } - } -} - impl EntityType { pub fn keep(self, proc: &mut Processor) -> () { match self {