diff options
| -rw-r--r-- | src/config.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.rs b/src/config.rs index 3dcdf85..5d63bd3 100644 --- a/src/config.rs +++ b/src/config.rs @@ -24,7 +24,7 @@ pub fn default_config_file_locations() -> Vec<String> { impl Config { pub fn parse_config_file_at_path(path: &str) -> anyhow::Result<Config> { let path = Path::new(path); - let file = File::open(&path)?; + let file = File::open(path)?; let contents = read_to_string(file)?; Ok(toml::from_str(&contents)?) } |
