From a341ca652625ad64a5a53365c7acc3b924eaccc3 Mon Sep 17 00:00:00 2001 From: Victor Polevoy Date: Sun, 17 Dec 2023 20:30:17 +0100 Subject: [PATCH] Fix formatting --- src/providers.rs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/providers.rs b/src/providers.rs index 7e02d400..2e05d8af 100644 --- a/src/providers.rs +++ b/src/providers.rs @@ -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." + ), } } }