summaryrefslogtreecommitdiff
path: root/src/repo
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2024-09-25 01:27:05 -0400
committerOwen Jacobson <owen@grimoire.ca>2024-09-25 02:16:04 -0400
commit452c8d0d9edb9894c108b6d577806c7c9d0071dd (patch)
tree1857a7409fe9e5e8c724ff7a04112c57ed3de92c /src/repo
parent697e90f291cec1bbd89965c2731f9481ec4507c4 (diff)
Crank up the Clippy warnings.
This'll catch style issues, mostly.
Diffstat (limited to 'src/repo')
-rw-r--r--src/repo/login/extract.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/repo/login/extract.rs b/src/repo/login/extract.rs
index e808f4b..92eb516 100644
--- a/src/repo/login/extract.rs
+++ b/src/repo/login/extract.rs
@@ -8,13 +8,13 @@ use super::Login;
use crate::{
app::App,
clock::RequestedAt,
- error::InternalError,
+ error::Internal,
login::{app::ValidateError, extract::IdentityToken},
};
#[async_trait::async_trait]
impl FromRequestParts<App> for Login {
- type Rejection = LoginError<InternalError>;
+ type Rejection = LoginError<Internal>;
async fn from_request_parts(parts: &mut Parts, state: &App) -> Result<Self, Self::Rejection> {
// After Rust 1.82 (and #[feature(min_exhaustive_patterns)] lands on
@@ -52,9 +52,9 @@ where
}
}
-impl<E> From<E> for LoginError<InternalError>
+impl<E> From<E> for LoginError<Internal>
where
- E: Into<InternalError>,
+ E: Into<Internal>,
{
fn from(err: E) -> Self {
Self::Failure(err.into())