diff options
author | boastful-squirrel <boastful.squirrel@gmail.com> | 2019-05-10 16:18:21 +0000 |
---|---|---|
committer | boastful-squirrel <boastful.squirrel@gmail.com> | 2019-05-10 16:18:21 +0000 |
commit | 09105cf479b25171cbe89d7ff3ed4f3feee16c01 (patch) | |
tree | f963c4d863d1e57a8f3dc5b8b4b9a26e2a1de1bf /src/errors.rs | |
parent | Merge pull request #90 from boastful-squirrel/themed-errors (diff) | |
download | miniserve-09105cf479b25171cbe89d7ff3ed4f3feee16c01.tar.gz miniserve-09105cf479b25171cbe89d7ff3ed4f3feee16c01.zip |
cargo fmt
Diffstat (limited to 'src/errors.rs')
-rw-r--r-- | src/errors.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/errors.rs b/src/errors.rs index 68f6d7d..2878e37 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -32,7 +32,10 @@ pub enum ContextualError { InvalidAuthFormat, /// 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", _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 |