From f2d62d446a7b1e03ef14b580e2aca0fad8aa23ef Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Tue, 5 Jul 2022 13:31:46 +0200 Subject: Refactor to do some to dos --- src/construct/paragraph.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/construct/paragraph.rs') 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 { // 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 { -- cgit