Skip to content

Commit 26aeb88

Browse files
committed
Make clippy happy again.
1 parent 2c51d08 commit 26aeb88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/models/persistent_session.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ pub struct PersistentSession {
3333

3434
impl PersistentSession {
3535
/// Creates a `NewPersistentSession` for the `user_id` and the token associated with it.
36-
pub fn create<'a>(user_id: i32) -> NewPersistentSession {
36+
pub fn create(user_id: i32) -> NewPersistentSession {
3737
let token = SecureToken::generate(SecureTokenKind::Session);
3838
NewPersistentSession { user_id, token }
3939
}

0 commit comments

Comments
 (0)