chore: fix clippy lints
This commit is contained in:
parent
fc9d3b4e45
commit
c78e0837a4
1 changed files with 1 additions and 1 deletions
|
@ -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> {
|
||||
|
|
Loading…
Reference in a new issue