From 8b184511edff62bd3786be3f5d62c1965430278b Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Sat, 1 Jul 2023 15:38:34 +0200 Subject: derive: move Syntax into parser module --- askama_derive/src/generator.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'askama_derive/src/generator.rs') 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 { -- cgit