aboutsummaryrefslogtreecommitdiffstats
path: root/src/content
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-16 13:34:05 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-16 13:34:05 +0200
commitef14d6581848ba5052d3389bb61fc96645551eef (patch)
treec1b2de69814950c5d2813b6b5798998c45635394 /src/content
parent7350acc692a79d9d4cf56afbc53ac3c9f2a6237c (diff)
downloadmarkdown-rs-ef14d6581848ba5052d3389bb61fc96645551eef.tar.gz
markdown-rs-ef14d6581848ba5052d3389bb61fc96645551eef.tar.bz2
markdown-rs-ef14d6581848ba5052d3389bb61fc96645551eef.zip
Refactor to reorder thing alphabetically
Diffstat (limited to '')
-rw-r--r--src/content/string.rs1
-rw-r--r--src/content/text.rs1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/content/string.rs b/src/content/string.rs
index 2723785..25d8582 100644
--- a/src/content/string.rs
+++ b/src/content/string.rs
@@ -55,6 +55,7 @@ fn before_data(tokenizer: &mut Tokenizer, code: Code) -> StateFnResult {
/// ```
fn in_data(tokenizer: &mut Tokenizer, code: Code) -> StateFnResult {
match code {
+ // To do: line endings.
Code::None => {
tokenizer.exit(TokenType::Data);
(State::Ok, None)
diff --git a/src/content/text.rs b/src/content/text.rs
index f61b390..6a30d4c 100644
--- a/src/content/text.rs
+++ b/src/content/text.rs
@@ -11,7 +11,6 @@
//! * [Hard break (escape)][crate::construct::hard_break_escape]
//! * [Hard break (trailing)][crate::construct::hard_break_trailing]
//! * [Code (text)][crate::construct::code_text]
-//! * Line ending
//! * Label start (image)
//! * Label start (link)
//! * [Character escape][crate::construct::character_escape]