diff options
author | boastful-squirrel <boastful.squirrel@gmail.com> | 2019-04-27 10:25:11 +0000 |
---|---|---|
committer | boastful-squirrel <boastful.squirrel@gmail.com> | 2019-04-27 10:25:11 +0000 |
commit | 211250a71d9b2df27f85beb35b89d23346c6fa5e (patch) | |
tree | 682b2b4f7bd4fbd61dbccc45bb7067bf38031c41 /src/errors.rs | |
parent | Themed errors (diff) | |
download | miniserve-211250a71d9b2df27f85beb35b89d23346c6fa5e.tar.gz miniserve-211250a71d9b2df27f85beb35b89d23346c6fa5e.zip |
Improved some errors
Diffstat (limited to 'src/errors.rs')
-rw-r--r-- | src/errors.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/errors.rs b/src/errors.rs index d34b447..bf45b73 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -34,7 +34,7 @@ pub enum ContextualErrorKind { /// This error might occure if the hash method is neither sha256 nor sha512 #[fail( - display = "{} is not a valid hashing method. Expected sha256 or sha512", + display = "Invalid hashing method {}. Expected sha256 or sha512", _0 )] InvalidHashMethod(String), |