Skip to content

Commit

Permalink
Make clippy happy again.
Browse files Browse the repository at this point in the history
  • Loading branch information
adsnaider committed Apr 17, 2022
1 parent f219a93 commit e9fa735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/persistent_session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ pub struct PersistentSession {

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

0 comments on commit e9fa735

Please sign in to comment.