aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct/definition.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-08-11 15:54:13 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-08-11 15:54:13 +0200
commit3048b7aca0690691d25cb8409d543b2377e065e1 (patch)
tree565aa373293f69fc5c80bc4ef48e4af904ab2134 /src/construct/definition.rs
parentcf9f0039911597cd5c9bc8e98f61b5df09b02130 (diff)
downloadmarkdown-rs-3048b7aca0690691d25cb8409d543b2377e065e1.tar.gz
markdown-rs-3048b7aca0690691d25cb8409d543b2377e065e1.tar.bz2
markdown-rs-3048b7aca0690691d25cb8409d543b2377e065e1.zip
Refactor to move `space_or_tab_eol` to own file
Diffstat (limited to 'src/construct/definition.rs')
-rw-r--r--src/construct/definition.rs33
1 files changed, 17 insertions, 16 deletions
diff --git a/src/construct/definition.rs b/src/construct/definition.rs
index 2533a1c..6f63c79 100644
--- a/src/construct/definition.rs
+++ b/src/construct/definition.rs
@@ -59,21 +59,21 @@
//!
//! ## Tokens
//!
-//! * [`Definition`][Token::Definition]
-//! * [`DefinitionDestination`][Token::DefinitionDestination]
-//! * [`DefinitionDestinationLiteral`][Token::DefinitionDestinationLiteral]
-//! * [`DefinitionDestinationLiteralMarker`][Token::DefinitionDestinationLiteralMarker]
-//! * [`DefinitionDestinationRaw`][Token::DefinitionDestinationRaw]
-//! * [`DefinitionDestinationString`][Token::DefinitionDestinationString]
-//! * [`DefinitionLabel`][Token::DefinitionLabel]
-//! * [`DefinitionLabelMarker`][Token::DefinitionLabelMarker]
-//! * [`DefinitionLabelString`][Token::DefinitionLabelString]
-//! * [`DefinitionMarker`][Token::DefinitionMarker]
-//! * [`DefinitionTitle`][Token::DefinitionTitle]
-//! * [`DefinitionTitleMarker`][Token::DefinitionTitleMarker]
-//! * [`DefinitionTitleString`][Token::DefinitionTitleString]
-//! * [`LineEnding`][Token::LineEnding]
-//! * [`SpaceOrTab`][Token::SpaceOrTab]
+//! * [`Definition`][Name::Definition]
+//! * [`DefinitionDestination`][Name::DefinitionDestination]
+//! * [`DefinitionDestinationLiteral`][Name::DefinitionDestinationLiteral]
+//! * [`DefinitionDestinationLiteralMarker`][Name::DefinitionDestinationLiteralMarker]
+//! * [`DefinitionDestinationRaw`][Name::DefinitionDestinationRaw]
+//! * [`DefinitionDestinationString`][Name::DefinitionDestinationString]
+//! * [`DefinitionLabel`][Name::DefinitionLabel]
+//! * [`DefinitionLabelMarker`][Name::DefinitionLabelMarker]
+//! * [`DefinitionLabelString`][Name::DefinitionLabelString]
+//! * [`DefinitionMarker`][Name::DefinitionMarker]
+//! * [`DefinitionTitle`][Name::DefinitionTitle]
+//! * [`DefinitionTitleMarker`][Name::DefinitionTitleMarker]
+//! * [`DefinitionTitleString`][Name::DefinitionTitleString]
+//! * [`LineEnding`][Name::LineEnding]
+//! * [`SpaceOrTab`][Name::SpaceOrTab]
//!
//! ## References
//!
@@ -93,7 +93,8 @@
//! [html-a]: https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-a-element
//! [html-img]: https://html.spec.whatwg.org/multipage/embedded-content.html#the-img-element
-use crate::construct::partial_space_or_tab::{space_or_tab, space_or_tab_eol};
+use crate::construct::partial_space_or_tab::space_or_tab;
+use crate::construct::partial_space_or_tab_eol::space_or_tab_eol;
use crate::event::Name;
use crate::state::{Name as StateName, State};
use crate::tokenizer::Tokenizer;