diff --git a/src/data/action_logger.rs b/src/data/action_logger.rs index a973185..cce5585 100644 --- a/src/data/action_logger.rs +++ b/src/data/action_logger.rs @@ -101,7 +101,7 @@ pub enum Action<'a> { }, } -impl<'a> Action<'a> { +impl Action<'_> { pub fn as_string(&self) -> String { match self { Action::AdminDeleteUser(user) => { diff --git a/src/data/session_identity.rs b/src/data/session_identity.rs index 6f75391..91fcc11 100644 --- a/src/data/session_identity.rs +++ b/src/data/session_identity.rs @@ -30,7 +30,7 @@ pub struct SessionIdentityData { pub struct SessionIdentity<'a>(pub Option<&'a Identity>); -impl<'a> SessionIdentity<'a> { +impl SessionIdentity<'_> { fn get_session_data(&self) -> Option { if let Some(id) = self.0 { Self::deserialize_session_data(id.id().ok())