aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared/src
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2020-01-15 14:04:50 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2020-01-15 14:04:50 +0100
commitadd04785cf87973cfc37ea208e53e4c63ced6bb9 (patch)
treea6c3e5abcf634cdc95ed2229ed60e1bab7a01f57 /askama_shared/src
parent811f28c1f46a19f2d95d292efaef69bdeb574bfa (diff)
downloadaskama-add04785cf87973cfc37ea208e53e4c63ced6bb9.tar.gz
askama-add04785cf87973cfc37ea208e53e4c63ced6bb9.tar.bz2
askama-add04785cf87973cfc37ea208e53e4c63ced6bb9.zip
Remove unnecessary explicit lifetimes
Diffstat (limited to 'askama_shared/src')
-rw-r--r--askama_shared/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/askama_shared/src/lib.rs b/askama_shared/src/lib.rs
index dccec59..8a64c22 100644
--- a/askama_shared/src/lib.rs
+++ b/askama_shared/src/lib.rs
@@ -186,7 +186,7 @@ struct RawConfig<'d> {
impl<'d> RawConfig<'d> {
#[cfg(feature = "config")]
- fn from_toml_str<'n>(s: &'n str) -> RawConfig<'n> {
+ fn from_toml_str(s: &str) -> RawConfig<'_> {
toml::from_str(&s).unwrap_or_else(|_| panic!("invalid TOML in {}", CONFIG_FILE_NAME))
}