mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 13:16:56 +00:00
chore: Clippy fixes
This commit is contained in:
1 parent
18b0a87b2d
commit
eadcea8034
14 files changed
+66
-52
No files matched your search
@@ -48,8 +48,10 @@ impl Data {
|
||||
.map_err(|_| err!(Request(NotFound("auth_chain not found"))))?;
|
||||
|
||||
let chain = chain
|
||||
.chunks_exact(size_of::<u64>())
|
||||
.map(utils::u64_from_u8)
|
||||
.as_chunks::<{ size_of::<u64>() }>()
|
||||
.0
|
||||
.iter()
|
||||
.map(|s| utils::u64_from_u8(s))
|
||||
.collect::<Arc<[u64]>>();
|
||||
|
||||
// Cache in RAM
|
||||
|
||||
Reference in new issue
Block a user