From c78e0837a459d3a802336914c015ffe6a5ca9d96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Thu, 17 Mar 2022 16:19:27 +0100 Subject: [PATCH] chore: fix clippy lints --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index dc3ce90..857c51e 100644 --- a/src/config.rs +++ b/src/config.rs @@ -114,7 +114,7 @@ fn setup_fern(level: log::LevelFilter) { fn read_config(path: &str) -> Result { let config_file_content = std::fs::read_to_string(path).context("Couldn't read config file")?; - Ok(toml::from_str(&config_file_content).context("Couldn't parse config file")?) + toml::from_str(&config_file_content).context("Couldn't parse config file") } pub(crate) fn setup_app() -> Result {