We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ddac9b commit 6855c64Copy full SHA for 6855c64
src/handlers/config.rs
@@ -26,7 +26,7 @@ impl CompleteConfig {
26
file.write_all(default_toml_string.as_bytes()).unwrap();
27
28
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) {
+ } else if let Ok(config_contents) = read_to_string(p) {
30
let config: Self = toml::from_str(config_contents.as_str()).unwrap();
31
32
// Remember to check for any important missing config items here!
0 commit comments