Skip to content

Commit

Permalink
apply fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
pythonbrad committed Apr 24, 2024
1 parent 12e172e commit 103917e
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,19 @@ struct Args {
fn main() {
let args = Args::parse();

let wish_conf = WishConfig::from_file(&args.config_file).map_err(|err| {
Wish::raise_error("Problem parsing config file", &err);
}).unwrap();
let wish_conf = WishConfig::from_file(&args.config_file)
.map_err(|err| {
Wish::raise_error("Problem parsing config file", &err);
})
.unwrap();

let wish = Wish::from_config(wish_conf);

let clafrica_conf = ClafricaConfig::from_file(&args.config_file).map_err(|err| {
Wish::raise_error("Problem parsing config file", &err);
}).unwrap();
let clafrica_conf = ClafricaConfig::from_file(&args.config_file)
.map_err(|err| {
Wish::raise_error("Problem parsing config file", &err);
})
.unwrap();

// End the program if check only.
if args.check {
Expand Down

0 comments on commit 103917e

Please sign in to comment.