chore: fix clippy lints

This commit is contained in:
Jan Christian Grünhage 2022-03-17 16:19:27 +01:00
parent fc9d3b4e45
commit c78e0837a4

View file

@ -114,7 +114,7 @@ fn setup_fern(level: log::LevelFilter) {
fn read_config(path: &str) -> Result<Config> {
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<App> {