aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct/paragraph.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-05 13:31:46 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-05 13:31:46 +0200
commitf2d62d446a7b1e03ef14b580e2aca0fad8aa23ef (patch)
treeb2a837d99cb0e4a4de0bfd82051e10a2db8c6456 /src/construct/paragraph.rs
parentfd860a975b84da9a79abfa247787e6adbd5ea34c (diff)
downloadmarkdown-rs-f2d62d446a7b1e03ef14b580e2aca0fad8aa23ef.tar.gz
markdown-rs-f2d62d446a7b1e03ef14b580e2aca0fad8aa23ef.tar.bz2
markdown-rs-f2d62d446a7b1e03ef14b580e2aca0fad8aa23ef.zip
Refactor to do some to dos
Diffstat (limited to '')
-rw-r--r--src/construct/paragraph.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/construct/paragraph.rs b/src/construct/paragraph.rs
index 5ec278e..4f5e662 100644
--- a/src/construct/paragraph.rs
+++ b/src/construct/paragraph.rs
@@ -93,7 +93,8 @@ pub fn resolve(tokenizer: &mut Tokenizer) -> Vec<Event> {
// Enter:Paragraph
let mut enter_next_index = exit_index + 3;
- // To do: assert that `LineEnding` between?
+ // Find future `Paragraphs`.
+ // There will be `LineEnding` between.
while enter_next_index < len
&& tokenizer.events[enter_next_index].token_type == TokenType::Paragraph
{