Skip to content

Commit 6855c64

Browse files
committed
Appeased clippy
1 parent 5ddac9b commit 6855c64

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)