fn doctype_finishing(&mut self, c: char, d: u8) -> Result {
        match c {
            '<' => self.move_to(State::DoctypeFinishing(d + 1)),
            '>' if d == 1 => self.move_to_with(State::Normal, Token::TagEnd),
            '>' => self.move_to(State::DoctypeFinishing(d - 1)),
            _ => Ok(None),
        }
    }
/// State used while awaiting the closing bracket for the <!DOCTYPE tag
State used while awaiting the closing bracket for the <!DOCTYPE tag
State used while awaiting the closing bracket for the <!DOCTYPE tag
fn doctype_finishing(&mut self, c: char, d: u8) -> Result {
        match c {
            '<' => self.move_to(State::DoctypeFinishing(d + 1)),
            '>' if d == 1 => self.move_to_with(State::Normal, Token::TagEnd),
            '>' => self.move_to(State::DoctypeFinishing(d - 1)),
            _ => Ok(None),
        }
    }
fn doctype_finishing ( & mut self , c : char , d : u8 ) -> Result { match c { '<' => self . move_to ( State :: DoctypeFinishing ( d + 1 ) ) , '>' if d == 1 => self . move_to_with ( State :: Normal , Token :: TagEnd ) , '>' => self . move_to ( State :: DoctypeFinishing ( d - 1 ) ) , _ => Ok ( None ) , } }
State used while awaiting the closing bracket for the <!DOCTYPE tag
State used while awaiting the closing bracket for the <!DOCTYPE tag
&mut self
c
char
d
u8
&mut self
c
char
d
u8