From 3fdf1c7a37a391b757cc4bf8554f1cbc0c1f609a Mon Sep 17 00:00:00 2001 From: mash Date: Fri, 29 Jun 2018 13:51:46 +0000 Subject: Fix unused import warning --- askama_derive/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), -- cgit