diff options
Diffstat (limited to 'askama_escape')
-rw-r--r-- | askama_escape/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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<E, W> 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<E> Display for Escaped<'_, E> where E: Escaper, { |