diff options
author | mash <mashedcode@users.noreply.github.com> | 2018-06-29 13:51:46 +0000 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2018-07-02 09:25:27 +0200 |
commit | 3fdf1c7a37a391b757cc4bf8554f1cbc0c1f609a (patch) | |
tree | 9a73f12cb0eee7df70a2d48ad9df118a47d68e01 | |
parent | 0c9a455180c27e1362a78dd335ee6a0656b3b2cf (diff) | |
download | askama-3fdf1c7a37a391b757cc4bf8554f1cbc0c1f609a.tar.gz askama-3fdf1c7a37a391b757cc4bf8554f1cbc0c1f609a.tar.bz2 askama-3fdf1c7a37a391b757cc4bf8554f1cbc0c1f609a.zip |
Fix unused import warning
-rw-r--r-- | askama_derive/src/lib.rs | 2 |
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), |