diff --git a/actix-identity/src/lib.rs b/actix-identity/src/lib.rs index cb9c40784..2e51fd365 100644 --- a/actix-identity/src/lib.rs +++ b/actix-identity/src/lib.rs @@ -76,6 +76,7 @@ pub trait IdentityPolicy: Sized + 'static { type ResponseFuture: Future>; /// Parse the session from request and load data from a service identity. + #[allow(clippy::wrong_self_convention)] fn from_request(&self, req: &mut ServiceRequest) -> Self::Future; /// Write changes to response