From 8bb3de0a3e586da6b719abedcfcc58e901eddc12 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Thu, 1 Jul 2021 15:52:33 +0200 Subject: Stop eliding lifetimes in paths --- askama_shared/src/input.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'askama_shared/src/input.rs') diff --git a/askama_shared/src/input.rs b/askama_shared/src/input.rs index 8986fea..c94c217 100644 --- a/askama_shared/src/input.rs +++ b/askama_shared/src/input.rs @@ -24,7 +24,7 @@ impl<'a> TemplateInput<'a> { /// field, if any. pub fn new<'n>( ast: &'n syn::DeriveInput, - config: &'n Config, + config: &'n Config<'_>, ) -> Result, CompileError> { // Check that an attribute called `template()` exists and that it is // the proper type (list). -- cgit