diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-06-22 14:46:51 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-06-22 14:46:51 +0200 |
commit | 6fdaffb3a8b4517a3b5c1e39dc1e16649c6eb0da (patch) | |
tree | 39426778d5a150612059070196d50daadcebfb0e /src/construct/partial_space_or_tab.rs | |
parent | 33b69eb9189fb2fd0f731530285baf3ac20c5eb0 (diff) | |
download | markdown-rs-6fdaffb3a8b4517a3b5c1e39dc1e16649c6eb0da.tar.gz markdown-rs-6fdaffb3a8b4517a3b5c1e39dc1e16649c6eb0da.tar.bz2 markdown-rs-6fdaffb3a8b4517a3b5c1e39dc1e16649c6eb0da.zip |
Rename `Whitespace` token to `SpaceOrTab`
Diffstat (limited to 'src/construct/partial_space_or_tab.rs')
-rw-r--r-- | src/construct/partial_space_or_tab.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/construct/partial_space_or_tab.rs b/src/construct/partial_space_or_tab.rs index 1c4b367..cbb2cf3 100644 --- a/src/construct/partial_space_or_tab.rs +++ b/src/construct/partial_space_or_tab.rs @@ -34,7 +34,7 @@ pub fn space_or_tab_opt() -> Box<StateFn> { /// space_or_tab_min_max ::= x*y( ' ' '\t' ) /// ``` pub fn space_or_tab_min_max(min: usize, max: usize) -> Box<StateFn> { - space_or_tab(TokenType::Whitespace, min, max) + space_or_tab(TokenType::SpaceOrTab, min, max) } /// Between `x` and `y` `space_or_tab`, with the given token type. |