aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct/partial_space_or_tab.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-22 14:46:51 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-22 14:46:51 +0200
commit6fdaffb3a8b4517a3b5c1e39dc1e16649c6eb0da (patch)
tree39426778d5a150612059070196d50daadcebfb0e /src/construct/partial_space_or_tab.rs
parent33b69eb9189fb2fd0f731530285baf3ac20c5eb0 (diff)
downloadmarkdown-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.rs2
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.