diff options
author | Randati <anttivan@gmail.com> | 2020-12-21 14:57:38 +0200 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2020-12-21 14:32:47 +0100 |
commit | 1266bc5b2647a1f1e8af083ce154404eadb107e2 (patch) | |
tree | cc536aa56a3a3de78b3e10c2e56006ec7ae21348 /askama_shared/src | |
parent | b85b3463c3b023f9b342c0bc7c16ac1529879305 (diff) | |
download | askama-1266bc5b2647a1f1e8af083ce154404eadb107e2.tar.gz askama-1266bc5b2647a1f1e8af083ce154404eadb107e2.tar.bz2 askama-1266bc5b2647a1f1e8af083ce154404eadb107e2.zip |
Remove an explicit lifetime to fix a clippy warning
Diffstat (limited to '')
-rw-r--r-- | askama_shared/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/askama_shared/src/lib.rs b/askama_shared/src/lib.rs index e5ba402..290ca19 100644 --- a/askama_shared/src/lib.rs +++ b/askama_shared/src/lib.rs @@ -206,7 +206,7 @@ impl<'d> RawConfig<'d> { } #[cfg(not(feature = "config"))] - fn from_toml_str<'n>(_: &'n str) -> std::result::Result<RawConfig<'_>, CompileError> { + fn from_toml_str(_: &str) -> std::result::Result<RawConfig<'_>, CompileError> { Err("TOML support not available".into()) } } |