From 3eda99e9efbdfc2cb0e20932f20018d53baf5a64 Mon Sep 17 00:00:00 2001 From: pennae Date: Sun, 17 Jul 2022 17:32:54 +0200 Subject: make the Clone bytes types Copy as well u8 arrays are copy, no need to not have our wrappers be copy. --- src/db/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/db/mod.rs') 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, -- cgit v1.2.3