diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-10-13 19:03:03 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-10-13 19:03:03 +0200 |
commit | cdf9f97c34734e82431bbc54d3383f7ac6ac328e (patch) | |
tree | 70cd2db6d2c7b3a630b08e9f1062fd5a8fe64a44 /src/construct/partial_space_or_tab.rs | |
parent | c790a943ab4cbb5eefa8704f017eb3cf070bf860 (diff) | |
download | markdown-rs-cdf9f97c34734e82431bbc54d3383f7ac6ac328e.tar.gz markdown-rs-cdf9f97c34734e82431bbc54d3383f7ac6ac328e.tar.bz2 markdown-rs-cdf9f97c34734e82431bbc54d3383f7ac6ac328e.zip |
Remove some unused code
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 198dae2..6c5c0ca 100644 --- a/src/construct/partial_space_or_tab.rs +++ b/src/construct/partial_space_or_tab.rs @@ -96,7 +96,7 @@ pub fn start(tokenizer: &mut Tokenizer) -> State { if tokenizer.tokenize_state.space_or_tab_connect { let index = tokenizer.events.len() - 1; link(&mut tokenizer.events, index); - } else if tokenizer.tokenize_state.space_or_tab_content.is_some() { + } else { tokenizer.tokenize_state.space_or_tab_connect = true; } |