aboutsummaryrefslogtreecommitdiffstats
path: root/src/resolve.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/resolve.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/resolve.rs')
-rw-r--r--src/resolve.rs5
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);