Skip to content
This repository was archived by the owner on Jan 2, 2026. It is now read-only.

Commit d5f6f7a

Browse files
author
bitfl0wer
committed
chore: clippy lint fix
1 parent 6ad572a commit d5f6f7a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/database/tokens.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,7 @@ impl TokenStore {
7373
.fetch_optional(&self.p.pool)
7474
.await?;
7575
match record {
76-
Some(record) => {
77-
Ok(Some(TokenActorIdPair { token: record.token.into(), uaid: record.uaid }))
78-
}
76+
Some(record) => Ok(Some(TokenActorIdPair { token: record.token, uaid: record.uaid })),
7977
None => Ok(None),
8078
}
8179
}

0 commit comments

Comments
 (0)