diff options
| author | 2021-07-01 09:53:29 +0200 | |
|---|---|---|
| committer | 2021-07-01 10:20:56 +0200 | |
| commit | c1fa2d61468aa3591c4d6a259aa1e486eb936da9 (patch) | |
| tree | 48c6719d0f91485e75cdb8428b0a48543b8e511a /askama_shared | |
| parent | 017b5901fb27f12c0a51738ec5f0a992e0316d8c (diff) | |
| download | askama-c1fa2d61468aa3591c4d6a259aa1e486eb936da9.tar.gz askama-c1fa2d61468aa3591c4d6a259aa1e486eb936da9.tar.bz2 askama-c1fa2d61468aa3591c4d6a259aa1e486eb936da9.zip | |
Fix a clippy::needless-borrow warning in askama_shared
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 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))          })      } | 
