mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-12-03 22:01:50 +00:00
chore: Clippy fixes
This commit is contained in:
24 files changed
+32
-82
No files matched your search
@@ -143,7 +143,7 @@ impl Service {
|
||||
) {
|
||||
let mut key = user_id.as_bytes().to_vec();
|
||||
key.push(0xFF);
|
||||
key.extend_from_slice(device_id.map(DeviceId::as_bytes).unwrap_or_default());
|
||||
key.extend_from_slice(device_id.map_or_default(DeviceId::as_bytes));
|
||||
key.push(0xFF);
|
||||
key.extend_from_slice(txn_id.as_bytes());
|
||||
|
||||
|
||||
Reference in new issue
Block a user