summaryrefslogtreecommitdiff
path: root/src/db
diff options
context:
space:
mode:
authorpennae <github@quasiparticle.net>2022-07-17 17:32:54 +0200
committerpennae <github@quasiparticle.net>2022-07-17 17:32:54 +0200
commit3eda99e9efbdfc2cb0e20932f20018d53baf5a64 (patch)
tree058d266f4a193bd4de931f39bb115c7225376507 /src/db
parent1ef9d67fb6979ea91812c4ea892f7ecc12b3170f (diff)
downloadminor-skulk-3eda99e9efbdfc2cb0e20932f20018d53baf5a64.tar.gz
minor-skulk-3eda99e9efbdfc2cb0e20932f20018d53baf5a64.tar.xz
minor-skulk-3eda99e9efbdfc2cb0e20932f20018d53baf5a64.zip
make the Clone bytes types Copy as well
u8 arrays are copy, no need to not have our wrappers be copy.
Diffstat (limited to 'src/db')
-rw-r--r--src/db/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/mod.rs b/src/db/mod.rs
index bceab43..6cea895 100644
--- a/src/db/mod.rs
+++ b/src/db/mod.rs
@@ -245,7 +245,7 @@ impl DbConn {
)
.map(|r| {
(
- r.session_id.clone(),
+ r.session_id,
UserSession {
uid: r.uid,
req_hmac_key: r.req_hmac_key,