Remove incorrect comment and unused function

This commit is contained in:
Wilson Lin 2020-01-14 17:56:13 +11:00
parent 0fa6d660e6
commit 8a92d4281a
2 changed files with 0 additions and 10 deletions

View File

@ -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,

View File

@ -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 {