diff options
author | René Kijewski <rene.kijewski@fu-berlin.de> | 2023-08-01 10:39:24 +0200 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2023-08-01 13:04:41 +0200 |
commit | cdfe287b730a748f0601da2bc471d056c72c0559 (patch) | |
tree | 894d09427e3f8791af7d9196b45f387acb550b71 /askama_derive/src/generator.rs | |
parent | 1521a08a20b6631b54d4ecbbbfcb4260e393bc97 (diff) | |
download | askama-cdfe287b730a748f0601da2bc471d056c72c0559.tar.gz askama-cdfe287b730a748f0601da2bc471d056c72c0559.tar.bz2 askama-cdfe287b730a748f0601da2bc471d056c72c0559.zip |
parser: remove re-exports `parser::{node,expr}::*`
Diffstat (limited to '')
-rw-r--r-- | askama_derive/src/generator.rs | 8 |
1 files changed, 5 insertions, 3 deletions
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; |