diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-08-15 11:40:40 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-08-15 11:40:40 +0200 |
commit | ee967aa634b5f8e9d30329d587538f1371a5da95 (patch) | |
tree | cdc1461c822e440b24428eb8d431881e216ab8bd /src/tokenizer.rs | |
parent | 13135666fac476f3cd6f059147f496533b304097 (diff) | |
download | markdown-rs-ee967aa634b5f8e9d30329d587538f1371a5da95.tar.gz markdown-rs-ee967aa634b5f8e9d30329d587538f1371a5da95.tar.bz2 markdown-rs-ee967aa634b5f8e9d30329d587538f1371a5da95.zip |
Refactor to move `content` to `construct`
Diffstat (limited to '')
-rw-r--r-- | src/tokenizer.rs | 10 |
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. /// |