Skip to content

Commit 2af70a2

Browse files
committed
Fix lint error and make clippy happier.
1 parent b9af39c commit 2af70a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tests/util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ impl MockCookieUser {
285285

286286
self.app.db(|conn| {
287287
PersistentSession::create(self.user.id, &token, ip_addr.parse().unwrap(), user_agent)
288-
.insert(&conn)
288+
.insert(conn)
289289
.unwrap()
290290
});
291291

0 commit comments

Comments
 (0)