From 8c438ea9c8fb5c605d8b179637ced6971d8902e7 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Fri, 15 Jul 2022 12:35:35 +0200 Subject: Remove unneeded token --- src/construct/block_quote.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/construct') diff --git a/src/construct/block_quote.rs b/src/construct/block_quote.rs index 096ac0a..483516c 100644 --- a/src/construct/block_quote.rs +++ b/src/construct/block_quote.rs @@ -22,7 +22,7 @@ //! * [`BlockQuote`][Token::BlockQuote] //! * [`BlockQuoteMarker`][Token::BlockQuoteMarker] //! * [`BlockQuotePrefix`][Token::BlockQuotePrefix] -//! * [`BlockQuoteWhitespace`][Token::BlockQuoteWhitespace] +//! * [`SpaceOrTab`][Token::SpaceOrTab] //! //! ## References //! @@ -102,9 +102,9 @@ fn cont_before(tokenizer: &mut Tokenizer, code: Code) -> StateFnResult { fn cont_after(tokenizer: &mut Tokenizer, code: Code) -> StateFnResult { match code { Code::VirtualSpace | Code::Char('\t' | ' ') => { - tokenizer.enter(Token::BlockQuoteWhitespace); + tokenizer.enter(Token::SpaceOrTab); tokenizer.consume(code); - tokenizer.exit(Token::BlockQuoteWhitespace); + tokenizer.exit(Token::SpaceOrTab); tokenizer.exit(Token::BlockQuotePrefix); (State::Ok, None) } -- cgit