aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-20 12:59:06 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-20 12:59:06 +0200
commit262aec96cece3e9dd55828397b8ec859e7cff606 (patch)
tree0024565a50902b67a2cc3088bd5c37c705116096 /src/construct
parent5bf187fab2df0122e51523d1c731e457ab366121 (diff)
downloadmarkdown-rs-262aec96cece3e9dd55828397b8ec859e7cff606.tar.gz
markdown-rs-262aec96cece3e9dd55828397b8ec859e7cff606.tar.bz2
markdown-rs-262aec96cece3e9dd55828397b8ec859e7cff606.zip
Remove unneeded `content` content type
Diffstat (limited to 'src/construct')
-rw-r--r--src/construct/code_fenced.rs2
-rw-r--r--src/construct/html_text.rs6
-rw-r--r--src/construct/mod.rs1
3 files changed, 4 insertions, 5 deletions
diff --git a/src/construct/code_fenced.rs b/src/construct/code_fenced.rs
index 12c8bd6..28ac20b 100644
--- a/src/construct/code_fenced.rs
+++ b/src/construct/code_fenced.rs
@@ -27,7 +27,7 @@
//! The above grammar does not show how whitespace is handled.
//! To parse code (fenced), let `X` be the number of whitespace characters
//! before the opening fence sequence.
-//! Each line of content is then allowed (not required) to be indented with up
+//! Each line of text is then allowed (not required) to be indented with up
//! to `X` spaces or tabs, which are then ignored as an indent instead of being
//! considered as part of the code.
//! This indent does not affect the closing fence.
diff --git a/src/construct/html_text.rs b/src/construct/html_text.rs
index d50a8ce..93b4b62 100644
--- a/src/construct/html_text.rs
+++ b/src/construct/html_text.rs
@@ -632,7 +632,7 @@ fn end(tokenizer: &mut Tokenizer, code: Code) -> StateFnResult {
/// At an allowed line ending.
///
-/// > **Note**: we can’t have blank lines in content, so no need to worry about
+/// > **Note**: we can’t have blank lines in text, so no need to worry about
/// > empty tokens.
///
/// ```markdown
@@ -661,7 +661,7 @@ fn at_line_ending(
/// After a line ending.
///
-/// > **Note**: we can’t have blank lines in content, so no need to worry about
+/// > **Note**: we can’t have blank lines in text, so no need to worry about
/// > empty tokens.
///
/// ```markdown
@@ -681,7 +681,7 @@ fn after_line_ending(
/// After a line ending, after indent.
///
-/// > **Note**: we can’t have blank lines in content, so no need to worry about
+/// > **Note**: we can’t have blank lines in text, so no need to worry about
/// > empty tokens.
///
/// ```markdown
diff --git a/src/construct/mod.rs b/src/construct/mod.rs
index a5e95bc..3195205 100644
--- a/src/construct/mod.rs
+++ b/src/construct/mod.rs
@@ -24,7 +24,6 @@
//! * [code (fenced)][code_fenced]
//! * [code (indented)][code_indented]
//! * [code (text)][code_text]
-//! * content
//! * [definition][]
//! * [hard break (escape)][hard_break_escape]
//! * [hard break (trailing)][hard_break_trailing]