chore: Clippy fixes

This commit is contained in:
Ginger committed 2026-08-25 12:37:13 -04:00
1 parent 18b0a87b2d
commit eadcea8034
14 files changed
+66 -52

No files matched your search

+4 -2
View File
@@ -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