Skip to content

Commit

Permalink
Lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
westy92 committed Apr 26, 2024
1 parent 022c998 commit 4825e8f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@ impl HolidayEventApi {
.default_headers(headers)
.user_agent(APP_USER_AGENT)
.timeout(Duration::from_secs(10))
.build() else {
return Err("Error instantiating client.".into());
};
.build()
else {
return Err("Error instantiating client.".into());
};

let Ok(base_url) = Url::parse(base_url) else {
return Err("Invalid base_url.".into());
Expand Down

0 comments on commit 4825e8f

Please sign in to comment.