aboutsummaryrefslogtreecommitdiffstats
path: root/askama_escape
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2021-07-01 15:52:33 +0200
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2021-07-01 16:10:43 +0200
commit8bb3de0a3e586da6b719abedcfcc58e901eddc12 (patch)
tree9f0773028faf753ba2cdf58e58b255aec3f9c0b1 /askama_escape
parent83b03cd485694483df4b435979b7a3184a208e48 (diff)
downloadaskama-8bb3de0a3e586da6b719abedcfcc58e901eddc12.tar.gz
askama-8bb3de0a3e586da6b719abedcfcc58e901eddc12.tar.bz2
askama-8bb3de0a3e586da6b719abedcfcc58e901eddc12.zip
Stop eliding lifetimes in paths
Diffstat (limited to '')
-rw-r--r--askama_escape/benches/all.rs2
-rw-r--r--askama_escape/src/lib.rs1
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;