From 1266bc5b2647a1f1e8af083ce154404eadb107e2 Mon Sep 17 00:00:00 2001 From: Randati Date: Mon, 21 Dec 2020 14:57:38 +0200 Subject: Remove an explicit lifetime to fix a clippy warning --- askama_shared/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'askama_shared/src') 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, CompileError> { + fn from_toml_str(_: &str) -> std::result::Result, CompileError> { Err("TOML support not available".into()) } } -- cgit