aboutsummaryrefslogtreecommitdiffstats
path: root/src/tokenizer.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-08-15 11:40:40 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-08-15 11:40:40 +0200
commitee967aa634b5f8e9d30329d587538f1371a5da95 (patch)
treecdc1461c822e440b24428eb8d431881e216ab8bd /src/tokenizer.rs
parent13135666fac476f3cd6f059147f496533b304097 (diff)
downloadmarkdown-rs-ee967aa634b5f8e9d30329d587538f1371a5da95.tar.gz
markdown-rs-ee967aa634b5f8e9d30329d587538f1371a5da95.tar.bz2
markdown-rs-ee967aa634b5f8e9d30329d587538f1371a5da95.zip
Refactor to move `content` to `construct`
Diffstat (limited to 'src/tokenizer.rs')
-rw-r--r--src/tokenizer.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tokenizer.rs b/src/tokenizer.rs
index dcd34ac..5b5e311 100644
--- a/src/tokenizer.rs
+++ b/src/tokenizer.rs
@@ -154,15 +154,15 @@ pub struct TokenizeState<'a> {
// Couple of media related fields.
/// List of usable label starts.
///
- /// Used when tokenizing [text content][crate::content::text].
+ /// Used when tokenizing [text content][crate::construct::text].
pub label_starts: Vec<LabelStart>,
/// List of unusable label starts.
///
- /// Used when tokenizing [text content][crate::content::text].
+ /// Used when tokenizing [text content][crate::construct::text].
pub label_starts_loose: Vec<LabelStart>,
/// Stack of images and links.
///
- /// Used when tokenizing [text content][crate::content::text].
+ /// Used when tokenizing [text content][crate::construct::text].
pub labels: Vec<Label>,
/// List of defined identifiers.
@@ -239,11 +239,11 @@ pub struct Tokenizer<'a> {
pub tokenize_state: TokenizeState<'a>,
/// Whether we would be interrupting something.
///
- /// Used when tokenizing [flow content][crate::content::flow].
+ /// Used when tokenizing [flow content][crate::construct::flow].
pub interrupt: bool,
/// Whether containers cannot “pierce” into the current construct.
///
- /// Used when tokenizing [document content][crate::content::document].
+ /// Used when tokenizing [document content][crate::construct::document].
pub concrete: bool,
/// Whether this line is lazy.
///