diff options
Diffstat (limited to 'askama_escape')
-rw-r--r-- | askama_escape/benches/all.rs | 2 | ||||
-rw-r--r-- | askama_escape/src/lib.rs | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/askama_escape/benches/all.rs b/askama_escape/benches/all.rs index a98f2d7..e0ef11f 100644 --- a/askama_escape/benches/all.rs +++ b/askama_escape/benches/all.rs @@ -11,7 +11,7 @@ fn functions(c: &mut Criterion) { c.bench_function("Escaping", escaping); } -fn escaping(b: &mut criterion::Bencher) { +fn escaping(b: &mut criterion::Bencher<'_>) { let string_long = r#" Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris consequat tellus sit amet ornare fermentum. Etiam nec erat ante. In at metus a orci mollis scelerisque. diff --git a/askama_escape/src/lib.rs b/askama_escape/src/lib.rs index 577b793..4643390 100644 --- a/askama_escape/src/lib.rs +++ b/askama_escape/src/lib.rs @@ -1,4 +1,5 @@ #![no_std] +#![deny(elided_lifetimes_in_paths)] #[cfg(test)] extern crate std; |