aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-01 11:14:47 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-01 11:14:47 +0200
commit1b550fcd5123ff41efdb96be1f6e0dfe34f76de7 (patch)
treeaf7ba8a06327c0ec7027569515ece891951e4a04
parent9ded15e6cfe20a8cd025882ce8b8e5dde32a50d1 (diff)
downloadmarkdown-rs-1b550fcd5123ff41efdb96be1f6e0dfe34f76de7.tar.gz
markdown-rs-1b550fcd5123ff41efdb96be1f6e0dfe34f76de7.tar.bz2
markdown-rs-1b550fcd5123ff41efdb96be1f6e0dfe34f76de7.zip
Refactor to reorder token types
-rw-r--r--src/construct/code_fenced.rs2
-rw-r--r--src/construct/code_text.rs2
-rw-r--r--src/construct/definition.rs8
-rw-r--r--src/construct/label_end.rs16
4 files changed, 14 insertions, 14 deletions
diff --git a/src/construct/code_fenced.rs b/src/construct/code_fenced.rs
index 1602aad..d19cad0 100644
--- a/src/construct/code_fenced.rs
+++ b/src/construct/code_fenced.rs
@@ -79,9 +79,9 @@
//!
//! * [`CodeFenced`][TokenType::CodeFenced]
//! * [`CodeFencedFence`][TokenType::CodeFencedFence]
-//! * [`CodeFencedFenceSequence`][TokenType::CodeFencedFenceSequence]
//! * [`CodeFencedFenceInfo`][TokenType::CodeFencedFenceInfo]
//! * [`CodeFencedFenceMeta`][TokenType::CodeFencedFenceMeta]
+//! * [`CodeFencedFenceSequence`][TokenType::CodeFencedFenceSequence]
//! * [`CodeFlowChunk`][TokenType::CodeFlowChunk]
//! * [`LineEnding`][TokenType::LineEnding]
//! * [`SpaceOrTab`][TokenType::SpaceOrTab]
diff --git a/src/construct/code_text.rs b/src/construct/code_text.rs
index 70b3805..c595c75 100644
--- a/src/construct/code_text.rs
+++ b/src/construct/code_text.rs
@@ -69,8 +69,8 @@
//!
//! * [`CodeText`][TokenType::CodeText]
//! * [`CodeTextData`][TokenType::CodeTextData]
-//! * [`CodeTextSequence`][TokenType::CodeTextSequence]
//! * [`CodeTextLineEnding`][TokenType::CodeTextLineEnding]
+//! * [`CodeTextSequence`][TokenType::CodeTextSequence]
//!
//! ## References
//!
diff --git a/src/construct/definition.rs b/src/construct/definition.rs
index 2b3e4b3..f05064a 100644
--- a/src/construct/definition.rs
+++ b/src/construct/definition.rs
@@ -60,15 +60,15 @@
//! ## Tokens
//!
//! * [`Definition`][TokenType::Definition]
-//! * [`DefinitionMarker`][TokenType::DefinitionMarker]
-//! * [`DefinitionLabel`][TokenType::DefinitionLabel]
-//! * [`DefinitionLabelMarker`][TokenType::DefinitionLabelMarker]
-//! * [`DefinitionLabelString`][TokenType::DefinitionLabelString]
//! * [`DefinitionDestination`][TokenType::DefinitionDestination]
//! * [`DefinitionDestinationLiteral`][TokenType::DefinitionDestinationLiteral]
//! * [`DefinitionDestinationLiteralMarker`][TokenType::DefinitionDestinationLiteralMarker]
//! * [`DefinitionDestinationRaw`][TokenType::DefinitionDestinationRaw]
//! * [`DefinitionDestinationString`][TokenType::DefinitionDestinationString]
+//! * [`DefinitionLabel`][TokenType::DefinitionLabel]
+//! * [`DefinitionLabelMarker`][TokenType::DefinitionLabelMarker]
+//! * [`DefinitionLabelString`][TokenType::DefinitionLabelString]
+//! * [`DefinitionMarker`][TokenType::DefinitionMarker]
//! * [`DefinitionTitle`][TokenType::DefinitionTitle]
//! * [`DefinitionTitleMarker`][TokenType::DefinitionTitleMarker]
//! * [`DefinitionTitleString`][TokenType::DefinitionTitleString]
diff --git a/src/construct/label_end.rs b/src/construct/label_end.rs
index 6901cb3..6f747db 100644
--- a/src/construct/label_end.rs
+++ b/src/construct/label_end.rs
@@ -102,28 +102,28 @@
//!
//! ## Tokens
//!
-//! * [`Link`][TokenType::Link]
+//! * [`Data`][TokenType::Data]
//! * [`Image`][TokenType::Image]
//! * [`Label`][TokenType::Label]
-//! * [`LabelText`][TokenType::LabelText]
//! * [`LabelEnd`][TokenType::LabelEnd]
//! * [`LabelMarker`][TokenType::LabelMarker]
+//! * [`LabelText`][TokenType::LabelText]
+//! * [`LineEnding`][TokenType::LineEnding]
+//! * [`Link`][TokenType::Link]
+//! * [`Reference`][TokenType::Reference]
+//! * [`ReferenceMarker`][TokenType::ReferenceMarker]
+//! * [`ReferenceString`][TokenType::ReferenceString]
//! * [`Resource`][TokenType::Resource]
-//! * [`ResourceMarker`][TokenType::ResourceMarker]
//! * [`ResourceDestination`][TokenType::ResourceDestination]
//! * [`ResourceDestinationLiteral`][TokenType::ResourceDestinationLiteral]
//! * [`ResourceDestinationLiteralMarker`][TokenType::ResourceDestinationLiteralMarker]
//! * [`ResourceDestinationRaw`][TokenType::ResourceDestinationRaw]
//! * [`ResourceDestinationString`][TokenType::ResourceDestinationString]
+//! * [`ResourceMarker`][TokenType::ResourceMarker]
//! * [`ResourceTitle`][TokenType::ResourceTitle]
//! * [`ResourceTitleMarker`][TokenType::ResourceTitleMarker]
//! * [`ResourceTitleString`][TokenType::ResourceTitleString]
-//! * [`Reference`][TokenType::Reference]
-//! * [`ReferenceMarker`][TokenType::ReferenceMarker]
-//! * [`ReferenceString`][TokenType::ReferenceString]
-//! * [`Data`][TokenType::Data]
//! * [`SpaceOrTab`][TokenType::SpaceOrTab]
-//! * [`LineEnding`][TokenType::LineEnding]
//!
//! ## References
//!