From dc92b4e4107885b8a891ce3406e0fca236ccb2d5 Mon Sep 17 00:00:00 2001 From: Sven-Hendrik Haase Date: Fri, 19 Feb 2021 06:08:02 +0100 Subject: Fix lints --- src/errors.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/errors.rs') diff --git a/src/errors.rs b/src/errors.rs index cb6efa8..1330390 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -8,7 +8,7 @@ pub enum ContextualError { /// Any kind of IO errors #[fail(display = "{}\ncaused by: {}", _0, _1)] - IOError(String, std::io::Error), + IoError(String, std::io::Error), /// MultipartError, which might occur during file upload, when processing the multipart request fails #[fail(display = "Failed to process multipart request\ncaused by: {}", _0)] @@ -59,15 +59,15 @@ pub enum ContextualError { display = "An error occured during HTTP authentication\ncaused by: {}", _0 )] - HTTPAuthenticationError(Box), + HttpAuthenticationError(Box), /// This error might occur when the HTTP credentials are not correct #[fail(display = "Invalid credentials for HTTP authentication")] - InvalidHTTPCredentials, + InvalidHttpCredentials, /// This error might occur when an HTTP request is invalid #[fail(display = "Invalid HTTP request\ncaused by: {}", _0)] - InvalidHTTPRequestError(String), + InvalidHttpRequestError(String), /// This error might occur when trying to access a page that does not exist #[fail(display = "Route {} could not be found", _0)] -- cgit v1.2.3