Skip to content

Commit f632fb4

Browse files
authored
Merge branch 'main' into pre-commit-ci-update-config
2 parents a12f2b6 + 6855c64 commit f632fb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/handlers/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ impl CompleteConfig {
2626
file.write_all(default_toml_string.as_bytes()).unwrap();
2727

2828
bail!("Configuration was generated at {path_str}, please fill it out with necessary information.")
29-
} else if let Ok(config_contents) = read_to_string(&p) {
29+
} else if let Ok(config_contents) = read_to_string(p) {
3030
let config: Self = toml::from_str(config_contents.as_str()).unwrap();
3131

3232
// Remember to check for any important missing config items here!

0 commit comments

Comments
 (0)