diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-08-11 15:54:13 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-08-11 15:54:13 +0200 |
commit | 3048b7aca0690691d25cb8409d543b2377e065e1 (patch) | |
tree | 565aa373293f69fc5c80bc4ef48e4af904ab2134 /src/construct/definition.rs | |
parent | cf9f0039911597cd5c9bc8e98f61b5df09b02130 (diff) | |
download | markdown-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 '')
-rw-r--r-- | src/construct/definition.rs | 33 |
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; |