diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-10-13 13:16:04 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-10-13 13:16:04 +0200 |
commit | 02ac7c7a69fc7949912a266f3cfc40f7c219278e (patch) | |
tree | bf54fe3bf09362cad585802f1637c30b3566fc52 /src/state.rs | |
parent | 2bde864146fdee411b8acef0f088ca9544aec8d0 (diff) | |
download | markdown-rs-02ac7c7a69fc7949912a266f3cfc40f7c219278e.tar.gz markdown-rs-02ac7c7a69fc7949912a266f3cfc40f7c219278e.tar.bz2 markdown-rs-02ac7c7a69fc7949912a266f3cfc40f7c219278e.zip |
Remove unneeded states in `partial_label`
Diffstat (limited to '')
-rw-r--r-- | src/state.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/state.rs b/src/state.rs index cbe19a7..615188e 100644 --- a/src/state.rs +++ b/src/state.rs @@ -297,12 +297,11 @@ pub enum Name { HtmlTextLineEndingAfterPrefix, LabelStart, - LabelAtMarker, LabelAtBreak, LabelEolAfter, - LabelAtBlankLine, LabelEscape, LabelInside, + LabelNok, LabelEndStart, LabelEndAfter, @@ -782,12 +781,11 @@ pub fn call(tokenizer: &mut Tokenizer, name: Name) -> State { Name::HtmlTextLineEndingAfterPrefix => construct::html_text::line_ending_after_prefix, Name::LabelStart => construct::partial_label::start, - Name::LabelAtMarker => construct::partial_label::at_marker, Name::LabelAtBreak => construct::partial_label::at_break, Name::LabelEolAfter => construct::partial_label::eol_after, - Name::LabelAtBlankLine => construct::partial_label::at_blank_line, Name::LabelEscape => construct::partial_label::escape, Name::LabelInside => construct::partial_label::inside, + Name::LabelNok => construct::partial_label::nok, Name::LabelEndStart => construct::label_end::start, Name::LabelEndAfter => construct::label_end::after, |