mirror of
https://github.com/winapps-org/winapps.git
synced 2025-06-05 22:57:19 +02:00
fix typo
This commit is contained in:
parent
28ea1de08d
commit
dcf11afb47
@ -60,7 +60,7 @@ pub fn load_config(path: Option<&str>) -> Config {
|
||||
let mut config_file =
|
||||
File::create(&config_file).expect("Failed to create configuration file");
|
||||
|
||||
let gen_config = toml::to_string(&config).except("Failed to generate default configuration");
|
||||
let gen_config = toml::to_string(&config).expect("Failed to generate default configuration");
|
||||
write!(config_file, "{}", gen_config).expect("Failed to write configuration file");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user