From 9f455e53a4a9311e0beadac6ab808c7e2ab0feca Mon Sep 17 00:00:00 2001 From: Sven-Hendrik Haase Date: Fri, 7 Mar 2025 03:44:55 +0100 Subject: Reformat everything with Rust 2024 edition --- src/args.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/args.rs') diff --git a/src/args.rs b/src/args.rs index ee9cb7e..6874e25 100644 --- a/src/args.rs +++ b/src/args.rs @@ -394,7 +394,9 @@ fn validate_is_dir_and_exists(s: &str) -> Result { #[derive(Clone, Debug, thiserror::Error)] pub enum AuthParseError { /// Might occur if the HTTP credential string does not respect the expected format - #[error("Invalid format for credentials string. Expected username:password, username:sha256:hash or username:sha512:hash")] + #[error( + "Invalid format for credentials string. Expected username:password, username:sha256:hash or username:sha512:hash" + )] InvalidAuthFormat, /// Might occur if the hash method is neither sha256 nor sha512 -- cgit v1.2.3