mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-09 15:28:01 -05:00
fix(trie): remove needless borrow in test helper
This commit is contained in:
@@ -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()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user