Skip to content

Commit

Permalink
#[derive(Default)] for Config
Browse files Browse the repository at this point in the history
  • Loading branch information
czy-29 committed Sep 10, 2024
1 parent 53d4f93 commit d59df59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ impl Pushover {
}
}

#[derive(Deserialize)]
#[derive(Deserialize, Default)]
struct Config {
hugo: Option<HugoConfig>,
caddy: Option<CaddyConfig>,
Expand Down

0 comments on commit d59df59

Please sign in to comment.