Make clippy happy

This commit is contained in:
2022-12-12 14:46:08 +01:00
parent 5fc1d2148f
commit 6e79dd318a
4 changed files with 7 additions and 7 deletions

View File

@@ -298,7 +298,7 @@ pub fn read_config<'a, T>(path: &str) -> Result<T, String>
where
T: for<'de> serde::Deserialize<'de>,
{
let content = match std::fs::read_to_string(&path) {
let content = match std::fs::read_to_string(path) {
Ok(s) => s,
Err(e) => {
return Err(format!(