Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
iddm committed Dec 17, 2023
1 parent 60be2f3 commit a341ca6
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/providers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,14 @@ pub enum ProviderError {
impl std::fmt::Display for ProviderError {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
match *self {
Self::Connection => write!(f, "A connection problem occured when connecting to a provided."),
Self::Deserialize => write!(f, "Couldn't deserialize the shortened URL from the response."),
Self::Connection => write!(
f,
"A connection problem occured when connecting to a provided."
),
Self::Deserialize => write!(
f,
"Couldn't deserialize the shortened URL from the response."
),
}
}
}
Expand Down

0 comments on commit a341ca6

Please sign in to comment.