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_escape/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'askama_escape/src') diff --git a/askama_escape/src/lib.rs b/askama_escape/src/lib.rs index 2aa705e..28b51f6 100644 --- a/askama_escape/src/lib.rs +++ b/askama_escape/src/lib.rs @@ -72,7 +72,7 @@ pub struct EscapeWriter<'a, E, W> { escaper: &'a E, } -impl<'a, E, W> Write for EscapeWriter<'a, E, W> +impl Write for EscapeWriter<'_, E, W> where W: Write, E: Escaper, @@ -98,7 +98,7 @@ where escaper: E, } -impl<'a, E> Display for Escaped<'a, E> +impl Display for Escaped<'_, E> where E: Escaper, { -- cgit