From 5b43a629a8592c1a3f49a3e42d62713a96dee0c8 Mon Sep 17 00:00:00 2001 From: boastful-squirrel Date: Mon, 6 May 2019 18:54:14 +0200 Subject: Undo changes on InvalidHashMethod error --- src/errors.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/errors.rs') diff --git a/src/errors.rs b/src/errors.rs index e5d2e41..68f6d7d 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -32,7 +32,7 @@ pub enum ContextualError { InvalidAuthFormat, /// This error might occure if the hash method is neither sha256 nor sha512 - #[fail(display = "Invalid hashing method {}. Expected sha256 or sha512", _0)] + #[fail(display = "{} is not a valid hashing method. Expected sha256 or sha512", _0)] InvalidHashMethod(String), /// This error might occur if the HTTP auth hash password is not a valid hex code -- cgit v1.2.3