Whitespace fix

This commit is contained in:
Riley Apeldoorn 2022-07-21 15:39:02 +02:00
parent 060d47cbcc
commit 1a62b7404b
1 changed files with 4 additions and 4 deletions

View File

@ -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),
}
}
}