aboutsummaryrefslogtreecommitdiff
path: root/src/error.rs
diff options
context:
space:
mode:
authorJake Howard <[email protected]>2021-03-27 14:26:32 +0000
committerJake Howard <[email protected]>2021-03-27 14:26:32 +0000
commit49af9cf4f5f8264384c7fa9063299f44e7536068 (patch)
tree21433a9827fb0b54312a494c408e3cbfa3398885 /src/error.rs
parent6b1daeba0533516c6d50fd2cebcc1e8060fd6df2 (diff)
downloadvaultwarden-49af9cf4f5f8264384c7fa9063299f44e7536068.tar.gz
vaultwarden-49af9cf4f5f8264384c7fa9063299f44e7536068.zip
Correctly camelCase acronyms
https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms
Diffstat (limited to 'src/error.rs')
-rw-r--r--src/error.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/error.rs b/src/error.rs
index fa90f1d3..a42b1809 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -38,11 +38,11 @@ use diesel::ConnectionError as DieselConErr;
use diesel_migrations::RunMigrationsError as DieselMigErr;
use diesel::r2d2::PoolError as R2d2Err;
use handlebars::RenderError as HbErr;
-use jsonwebtoken::errors::Error as JWTErr;
+use jsonwebtoken::errors::Error as JwtErr;
use regex::Error as RegexErr;
use reqwest::Error as ReqErr;
use serde_json::{Error as SerdeErr, Value};
-use std::io::Error as IOErr;
+use std::io::Error as IoErr;
use std::time::SystemTimeError as TimeErr;
use u2f::u2ferror::U2fError as U2fErr;
@@ -72,10 +72,10 @@ make_error! {
R2d2Error(R2d2Err): _has_source, _api_error,
U2fError(U2fErr): _has_source, _api_error,
SerdeError(SerdeErr): _has_source, _api_error,
- JWTError(JWTErr): _has_source, _api_error,
+ JWtError(JwtErr): _has_source, _api_error,
TemplError(HbErr): _has_source, _api_error,
//WsError(ws::Error): _has_source, _api_error,
- IOError(IOErr): _has_source, _api_error,
+ IoError(IoErr): _has_source, _api_error,
TimeError(TimeErr): _has_source, _api_error,
ReqError(ReqErr): _has_source, _api_error,
RegexError(RegexErr): _has_source, _api_error,