From cdfe287b730a748f0601da2bc471d056c72c0559 Mon Sep 17 00:00:00 2001 From: René Kijewski Date: Tue, 1 Aug 2023 10:39:24 +0200 Subject: parser: remove re-exports `parser::{node,expr}::*` --- askama_derive/src/generator.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'askama_derive/src/generator.rs') diff --git a/askama_derive/src/generator.rs b/askama_derive/src/generator.rs index f33829d..6e04a1a 100644 --- a/askama_derive/src/generator.rs +++ b/askama_derive/src/generator.rs @@ -2,10 +2,12 @@ use crate::config::{get_template_source, read_config_file, Config, WhitespaceHan use crate::heritage::{Context, Heritage}; use crate::input::{Print, Source, TemplateInput}; use crate::CompileError; -use parser::{ - Call, CondTest, Expr, If, Include, Let, Lit, Loop, Match, Node, Parsed, Target, Whitespace, Ws, -}; +use parser::expr::Expr; +use parser::node::{ + Call, CondTest, If, Include, Let, Lit, Loop, Match, Node, Target, Whitespace, Ws, +}; +use parser::Parsed; use proc_macro::TokenStream; use quote::{quote, ToTokens}; use syn::punctuated::Punctuated; -- cgit