fix(trie): remove needless borrow in test helper

This commit is contained in:
yongkangc
2026-01-06 11:13:47 +00:00
parent 6a100d6175
commit bcb90854c2

View File

@@ -272,7 +272,7 @@ mod tests {
.map(|i| { .map(|i| {
let mut bytes = [0u8; 8]; let mut bytes = [0u8; 8];
bytes.copy_from_slice(&i.to_be_bytes()); bytes.copy_from_slice(&i.to_be_bytes());
Nibbles::unpack(&bytes) Nibbles::unpack(bytes)
}) })
.collect() .collect()
} }