From 2100b41ee330ef6b088b4d7efdf8ea589a650ceb Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Mon, 18 Jul 2022 11:35:51 +0200 Subject: Remove unneeded token --- src/token.rs | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) (limited to 'src/token.rs') diff --git a/src/token.rs b/src/token.rs index 2e5e2df..fd7999d 100644 --- a/src/token.rs +++ b/src/token.rs @@ -492,7 +492,7 @@ pub enum Token { /// * **Content model**: /// [`CodeTextData`][Token::CodeTextData], /// [`CodeTextSequence`][Token::CodeTextSequence], - /// [`CodeTextLineEnding`][Token::CodeTextLineEnding] + /// [`LineEnding`][Token::LineEnding] /// * **Construct**: /// [`code_text`][crate::construct::code_text] /// @@ -521,25 +521,6 @@ pub enum Token { /// ^ /// ``` CodeTextData, - /// Line ending in code (text). - /// - /// ## Info - /// - /// * **Context**: - /// [`CodeText`][Token::CodeText], - /// * **Content model**: - /// void - /// * **Construct**: - /// [`code_text`][crate::construct::code_text] - /// - /// ## Example - /// - /// ```markdown - /// > | a `b␊ - /// ^ - /// | c` d - /// ``` - CodeTextLineEnding, /// Code (text) sequence. /// /// ## Info @@ -1879,7 +1860,7 @@ pub enum Token { } /// List of void tokens, used to make sure everything is working good. -pub const VOID_TOKENS: [Token; 40] = [ +pub const VOID_TOKENS: [Token; 39] = [ Token::AttentionSequence, Token::AutolinkEmail, Token::AutolinkMarker, @@ -1896,7 +1877,6 @@ pub const VOID_TOKENS: [Token; 40] = [ Token::CodeFencedFenceSequence, Token::CodeFlowChunk, Token::CodeTextData, - Token::CodeTextLineEnding, Token::CodeTextSequence, Token::Data, Token::DefinitionDestinationLiteralMarker, -- cgit