aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/construct/character_reference.rs2
-rw-r--r--src/construct/heading_setext.rs1
-rw-r--r--src/construct/partial_title.rs1
-rw-r--r--src/content/flow.rs1
-rw-r--r--src/content/string.rs2
5 files changed, 0 insertions, 7 deletions
diff --git a/src/construct/character_reference.rs b/src/construct/character_reference.rs
index af9c02e..c946dae 100644
--- a/src/construct/character_reference.rs
+++ b/src/construct/character_reference.rs
@@ -51,8 +51,6 @@
//! [decode_numeric]: crate::util::decode_character_reference::decode_numeric
//! [character_reference_names]: crate::constant::CHARACTER_REFERENCE_NAMES
//! [html]: https://html.spec.whatwg.org/multipage/parsing.html#character-reference-state
-//!
-//! <!-- To do: link `string`, `text` -->
use crate::constant::{
CHARACTER_REFERENCE_DECIMAL_SIZE_MAX, CHARACTER_REFERENCE_HEXADECIMAL_SIZE_MAX,
diff --git a/src/construct/heading_setext.rs b/src/construct/heading_setext.rs
index 579fa71..a418041 100644
--- a/src/construct/heading_setext.rs
+++ b/src/construct/heading_setext.rs
@@ -126,7 +126,6 @@ fn text_inside(tokenizer: &mut Tokenizer, code: Code) -> StateFnResult {
/// ```
fn text_continue(tokenizer: &mut Tokenizer, code: Code) -> StateFnResult {
// Needed to connect the text.
- // To do: does it work?
tokenizer.enter(TokenType::HeadingSetextText);
tokenizer.events.pop();
tokenizer.events.pop();
diff --git a/src/construct/partial_title.rs b/src/construct/partial_title.rs
index 322a3e6..22c3209 100644
--- a/src/construct/partial_title.rs
+++ b/src/construct/partial_title.rs
@@ -173,7 +173,6 @@ fn title(tokenizer: &mut Tokenizer, code: Code, kind: Kind) -> StateFnResult {
tokenizer.exit(TokenType::ChunkString);
at_break(tokenizer, code, kind, true)
}
- // To do: limit blank lines.
Code::CarriageReturnLineFeed | Code::Char('\r' | '\n') => {
tokenizer.consume(code);
tokenizer.exit(TokenType::ChunkString);
diff --git a/src/content/flow.rs b/src/content/flow.rs
index f4af4ea..481c8ff 100644
--- a/src/content/flow.rs
+++ b/src/content/flow.rs
@@ -94,7 +94,6 @@ fn blank_line_after(tokenizer: &mut Tokenizer, code: Code) -> StateFnResult {
fn initial_before(tokenizer: &mut Tokenizer, code: Code) -> StateFnResult {
match code {
Code::None => (State::Ok, None),
- // To do: should all flow just start before the prefix?
_ => tokenizer.attempt_7(
code_indented,
code_fenced,
diff --git a/src/content/string.rs b/src/content/string.rs
index efb6e60..c3e825e 100644
--- a/src/content/string.rs
+++ b/src/content/string.rs
@@ -17,8 +17,6 @@ use crate::construct::{
};
use crate::tokenizer::{Code, State, StateFnResult, TokenType, Tokenizer};
-// To do: line endings?
-
/// Before string.
///
/// ```markdown