summaryrefslogtreecommitdiffstats
path: root/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-04-09 09:01:17 +0200
committerGitHub <noreply@github.com>2021-04-09 09:01:17 +0200
commit2cba96a44c6e9150c38a12b60b55c32c1c345488 (patch)
tree43d56671db0e159f1792c0f874be3107d649f85d /src/errors.rs
parentd6bf9d4f8ecfe7c5d32bde031f37beeb842deef8 (diff)
parent513fe3ce2959e75d3591975ffaae826bf2ab0af0 (diff)
Merge pull request #284 from wojciechkepka/fix_clippy
Fix clippy lints
Diffstat (limited to 'src/errors.rs')
-rw-r--r--src/errors.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/errors.rs b/src/errors.rs
index a182ff6..a02836a 100644
--- a/src/errors.rs
+++ b/src/errors.rs
@@ -14,10 +14,14 @@ pub enum Error {
SerdeJsonError(SerdeError),
Hyper(hyper::Error),
Http(hyper::http::Error),
+ #[allow(clippy::upper_case_acronyms)]
IO(IoError),
Encoding(FromUtf8Error),
InvalidResponse(String),
- Fault { code: StatusCode, message: String },
+ Fault {
+ code: StatusCode,
+ message: String,
+ },
ConnectionNotUpgraded,
}