diff options
-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 290ca19..0b1f375 100644 --- a/askama_shared/src/lib.rs +++ b/askama_shared/src/lib.rs @@ -200,7 +200,7 @@ struct RawConfig<'d> { impl<'d> RawConfig<'d> { #[cfg(feature = "config")] fn from_toml_str(s: &str) -> std::result::Result<RawConfig<'_>, CompileError> { - toml::from_str(&s).map_err(|e| { + toml::from_str(s).map_err(|e| { CompileError::String(format!("invalid TOML in {}: {}", CONFIG_FILE_NAME, e)) }) } |