From 03bea24f9de698375033af92a08762446d0e20cc Mon Sep 17 00:00:00 2001 From: FxQnLr Date: Sun, 25 Feb 2024 16:14:56 +0100 Subject: Closes #2. Config and setup stuff --- src/error.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/error.rs') diff --git a/src/error.rs b/src/error.rs index f15c60a..531528f 100644 --- a/src/error.rs +++ b/src/error.rs @@ -11,11 +11,11 @@ pub enum CliError { impl Debug for CliError { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { match self { - Self::Reqwest(err) => { err.fmt(f) }, - Self::Config(err) => { err.fmt(f) }, - Self::Serde(err) => { err.fmt(f) }, - Self::Parse(err) => { err.fmt(f) }, - Self::WsResponse => { f.write_str("Error in Response") }, + Self::Reqwest(err) => err.fmt(f), + Self::Config(err) => err.fmt(f), + Self::Serde(err) => err.fmt(f), + Self::Parse(err) => err.fmt(f), + Self::WsResponse => f.write_str("Error in Response"), } } } -- cgit v1.2.3