aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive/src/generator.rs
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-08-08 20:26:03 +0200
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-08-08 20:26:03 +0200
commit946e8c758729c5fce42b137a2bc7e31b8bd49ade (patch)
treeaaf18e435ee3f6f53c4b6b061d10adef9e7acc01 /askama_derive/src/generator.rs
parentaadc4a9aa273adb92b4bd6bdd0e91818dffaa4a0 (diff)
downloadaskama-946e8c758729c5fce42b137a2bc7e31b8bd49ade.tar.gz
askama-946e8c758729c5fce42b137a2bc7e31b8bd49ade.tar.bz2
askama-946e8c758729c5fce42b137a2bc7e31b8bd49ade.zip
Clean up use statements in code generator
Diffstat (limited to 'askama_derive/src/generator.rs')
-rw-r--r--askama_derive/src/generator.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/askama_derive/src/generator.rs b/askama_derive/src/generator.rs
index fd2fb5b..6c53a89 100644
--- a/askama_derive/src/generator.rs
+++ b/askama_derive/src/generator.rs
@@ -1,10 +1,13 @@
use parser::{self, Cond, Expr, Node, Target, WS};
use path;
+
+use quote::{Tokens, ToTokens};
+
use std::path::PathBuf;
use std::str;
use std::collections::HashSet;
+
use syn;
-use quote::{Tokens, ToTokens};
struct Generator<'a> {
buf: String,