We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c51d08 commit 26aeb88Copy full SHA for 26aeb88
src/models/persistent_session.rs
@@ -33,7 +33,7 @@ pub struct PersistentSession {
33
34
impl PersistentSession {
35
/// Creates a `NewPersistentSession` for the `user_id` and the token associated with it.
36
- pub fn create<'a>(user_id: i32) -> NewPersistentSession {
+ pub fn create(user_id: i32) -> NewPersistentSession {
37
let token = SecureToken::generate(SecureTokenKind::Session);
38
NewPersistentSession { user_id, token }
39
}
0 commit comments