aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared/src/generator.rs
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2020-02-08 14:57:27 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2020-02-08 14:57:27 +0100
commit5d86086f557b72c37a5b50a891bc543b96ae2deb (patch)
tree13d52cc56cad7e557a477ef4ea675c9c35dc9b85 /askama_shared/src/generator.rs
parentf123d4eee00323628ae32b1f9b01318402b729fa (diff)
downloadaskama-5d86086f557b72c37a5b50a891bc543b96ae2deb.tar.gz
askama-5d86086f557b72c37a5b50a891bc543b96ae2deb.tar.bz2
askama-5d86086f557b72c37a5b50a891bc543b96ae2deb.zip
Adapt to new warnings and formatting
Diffstat (limited to 'askama_shared/src/generator.rs')
-rw-r--r--askama_shared/src/generator.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/askama_shared/src/generator.rs b/askama_shared/src/generator.rs
index dd33e12..59df687 100644
--- a/askama_shared/src/generator.rs
+++ b/askama_shared/src/generator.rs
@@ -14,8 +14,6 @@ use std::collections::{HashMap, HashSet};
use std::path::PathBuf;
use std::{cmp, hash, mem, str};
-use syn;
-
pub fn generate<S: std::hash::BuildHasher>(
input: &TemplateInput,
contexts: &HashMap<&PathBuf, Context, S>,