From f4254dedcfcfce4000abc91b4860c36d3fb91430 Mon Sep 17 00:00:00 2001 From: René Kijewski Date: Wed, 5 Jan 2022 19:30:38 +0100 Subject: Omit implicit lifetimes --- 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 30340b5..03c62d0 100644 --- a/askama_shared/src/input.rs +++ b/askama_shared/src/input.rs @@ -17,7 +17,7 @@ pub struct TemplateInput<'a> { pub path: PathBuf, } -impl<'a> TemplateInput<'a> { +impl TemplateInput<'_> { /// Extract the template metadata from the `DeriveInput` structure. This /// mostly recovers the data for the `TemplateInput` fields from the /// `template()` attribute list fields; it also finds the of the `_parent` -- cgit