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/resolve.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 'src/resolve.rs')
-rw-r--r-- | src/resolve.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/resolve.rs b/src/resolve.rs index edc92b2..0bf62fe 100644 --- a/src/resolve.rs +++ b/src/resolve.rs @@ -1,5 +1,4 @@ use crate::construct; -use crate::content; use crate::tokenizer::Tokenizer; /// Names of functions that resolve. @@ -26,8 +25,8 @@ pub fn call(tokenizer: &mut Tokenizer, name: Name) { Name::List => construct::list_item::resolve, Name::Paragraph => construct::paragraph::resolve, Name::Data => construct::partial_data::resolve, - Name::String => content::string::resolve, - Name::Text => content::text::resolve, + Name::String => construct::string::resolve, + Name::Text => construct::text::resolve, }; func(tokenizer); |