aboutsummaryrefslogtreecommitdiffstats
path: root/src/state.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-10-13 13:16:04 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-10-13 13:16:04 +0200
commit02ac7c7a69fc7949912a266f3cfc40f7c219278e (patch)
treebf54fe3bf09362cad585802f1637c30b3566fc52 /src/state.rs
parent2bde864146fdee411b8acef0f088ca9544aec8d0 (diff)
downloadmarkdown-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.rs6
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,