aboutsummaryrefslogtreecommitdiffstats
path: root/askama_escape/src
diff options
context:
space:
mode:
authorLibravatar René Kijewski <kijewski@library.vetmed.fu-berlin.de>2022-01-05 19:30:38 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2022-01-06 13:05:24 +0100
commitf4254dedcfcfce4000abc91b4860c36d3fb91430 (patch)
tree80203d049336d625ccfcc11cfc9102031e1ce140 /askama_escape/src
parent697f92dc273ed82da8012216079361853c2457f2 (diff)
downloadaskama-f4254dedcfcfce4000abc91b4860c36d3fb91430.tar.gz
askama-f4254dedcfcfce4000abc91b4860c36d3fb91430.tar.bz2
askama-f4254dedcfcfce4000abc91b4860c36d3fb91430.zip
Omit implicit lifetimes
Diffstat (limited to 'askama_escape/src')
-rw-r--r--askama_escape/src/lib.rs4
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,
{