aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive/src/generator.rs
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2023-07-01 15:38:34 +0200
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2023-07-31 10:27:15 +0200
commit8b184511edff62bd3786be3f5d62c1965430278b (patch)
tree340209532d26c9f177ba21fd1e444ea6f24f37a7 /askama_derive/src/generator.rs
parentac8de6260e34c7dc7f7f2228e832d1860a31707d (diff)
downloadaskama-8b184511edff62bd3786be3f5d62c1965430278b.tar.gz
askama-8b184511edff62bd3786be3f5d62c1965430278b.tar.bz2
askama-8b184511edff62bd3786be3f5d62c1965430278b.zip
derive: move Syntax into parser module
Diffstat (limited to '')
-rw-r--r--askama_derive/src/generator.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/askama_derive/src/generator.rs b/askama_derive/src/generator.rs
index f990330..f8b9ecb 100644
--- a/askama_derive/src/generator.rs
+++ b/askama_derive/src/generator.rs
@@ -244,8 +244,7 @@ fn find_used_templates(
mod _parsed {
use std::mem;
- use crate::config::Syntax;
- use crate::parser::{parse, Node};
+ use crate::parser::{parse, Node, Syntax};
use crate::CompileError;
pub(super) struct Parsed {