aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive/src/lib.rs
diff options
context:
space:
mode:
authorLibravatar mash <mashedcode@users.noreply.github.com>2018-06-29 13:51:46 +0000
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2018-07-02 09:25:27 +0200
commit3fdf1c7a37a391b757cc4bf8554f1cbc0c1f609a (patch)
tree9a73f12cb0eee7df70a2d48ad9df118a47d68e01 /askama_derive/src/lib.rs
parent0c9a455180c27e1362a78dd335ee6a0656b3b2cf (diff)
downloadaskama-3fdf1c7a37a391b757cc4bf8554f1cbc0c1f609a.tar.gz
askama-3fdf1c7a37a391b757cc4bf8554f1cbc0c1f609a.tar.bz2
askama-3fdf1c7a37a391b757cc4bf8554f1cbc0c1f609a.zip
Fix unused import warning
Diffstat (limited to 'askama_derive/src/lib.rs')
-rw-r--r--askama_derive/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/askama_derive/src/lib.rs b/askama_derive/src/lib.rs
index 27f02d1..e8166b0 100644
--- a/askama_derive/src/lib.rs
+++ b/askama_derive/src/lib.rs
@@ -37,7 +37,7 @@ pub fn derive_template(input: TokenStream) -> TokenStream {
/// the parse tree and/or generated source according to the `print` key's
/// value as passed to the `template()` attribute.
fn build_template(ast: &syn::DeriveInput) -> String {
- let input = input::TemplateInput::new(ast);
+ let input = TemplateInput::new(ast);
let source: String = match input.source {
Source::Source(ref s) => s.clone(),
Source::Path(_) => path::get_template_source(&input.path),