From 1a62b7404bb3b153a48a8acb4da2a4947e9dd0d8 Mon Sep 17 00:00:00 2001 From: Riley Apeldoorn Date: Thu, 21 Jul 2022 15:39:02 +0200 Subject: [PATCH] Whitespace fix --- src/main.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.rs b/src/main.rs index 214d4d9..64a07c9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -121,8 +121,8 @@ pub fn parse (data: String) -> Config { /// Runtime errors. #[derive(Debug)] pub enum Error { - Hyper (hyper::Error), - Http (http::Error), + Hyper (hyper::Error), + Http (http::Error), } impl std::error::Error for Error {} @@ -130,8 +130,8 @@ impl std::error::Error for Error {} impl std::fmt::Display for Error { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { match self { - Error::Hyper (e) => e.fmt(f), - Error::Http (e) => e.fmt(f), + Error::Hyper (e) => e.fmt(f), + Error::Http (e) => e.fmt(f), } } }