aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive
diff options
context:
space:
mode:
Diffstat (limited to 'askama_derive')
-rw-r--r--askama_derive/src/generator.rs5
-rw-r--r--askama_derive/src/heritage.rs3
2 files changed, 4 insertions, 4 deletions
diff --git a/askama_derive/src/generator.rs b/askama_derive/src/generator.rs
index c736847..76b775b 100644
--- a/askama_derive/src/generator.rs
+++ b/askama_derive/src/generator.rs
@@ -3,11 +3,10 @@ use crate::heritage::{Context, Heritage};
use crate::input::{Print, Source, TemplateInput};
use crate::CompileError;
-use parser::expr::Expr;
use parser::node::{
- Call, Comment, CondTest, If, Include, Let, Lit, Loop, Match, Node, Target, Whitespace, Ws,
+ Call, Comment, CondTest, If, Include, Let, Lit, Loop, Match, Target, Whitespace, Ws,
};
-use parser::Parsed;
+use parser::{Expr, Node, Parsed};
use proc_macro::TokenStream;
use quote::{quote, ToTokens};
use syn::punctuated::Punctuated;
diff --git a/askama_derive/src/heritage.rs b/askama_derive/src/heritage.rs
index 4e12f35..ce85ac7 100644
--- a/askama_derive/src/heritage.rs
+++ b/askama_derive/src/heritage.rs
@@ -4,7 +4,8 @@ use std::path::{Path, PathBuf};
use crate::config::Config;
use crate::CompileError;
-use parser::node::{BlockDef, Macro, Match, Node};
+use parser::node::{BlockDef, Macro, Match};
+use parser::Node;
pub(crate) struct Heritage<'a> {
pub(crate) root: &'a Context<'a>,