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/state.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 'src/state.rs')
-rw-r--r-- | src/state.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/state.rs b/src/state.rs index 7e28b0c..d5055e2 100644 --- a/src/state.rs +++ b/src/state.rs @@ -588,11 +588,11 @@ pub fn call(tokenizer: &mut Tokenizer, name: Name) -> State { Name::SpaceOrTabInside => construct::partial_space_or_tab::inside, Name::SpaceOrTabAfter => construct::partial_space_or_tab::after, - Name::SpaceOrTabEolStart => construct::partial_space_or_tab::eol_start, - Name::SpaceOrTabEolAfterFirst => construct::partial_space_or_tab::eol_after_first, - Name::SpaceOrTabEolAfterEol => construct::partial_space_or_tab::eol_after_eol, - Name::SpaceOrTabEolAtEol => construct::partial_space_or_tab::eol_at_eol, - Name::SpaceOrTabEolAfterMore => construct::partial_space_or_tab::eol_after_more, + Name::SpaceOrTabEolStart => construct::partial_space_or_tab_eol::eol_start, + Name::SpaceOrTabEolAfterFirst => construct::partial_space_or_tab_eol::eol_after_first, + Name::SpaceOrTabEolAfterEol => construct::partial_space_or_tab_eol::eol_after_eol, + Name::SpaceOrTabEolAtEol => construct::partial_space_or_tab_eol::eol_at_eol, + Name::SpaceOrTabEolAfterMore => construct::partial_space_or_tab_eol::eol_after_more, Name::StringStart => content::string::start, Name::StringBefore => content::string::before, |