chore: fix warning

This commit is contained in:
Zixuan Chen 2024-10-08 22:54:05 +08:00
parent ca5da52c44
commit ba9a42bb16
No known key found for this signature in database

View file

@ -115,6 +115,7 @@ impl ContainerWrapper {
ans
}
#[allow(unused)]
pub fn decode_parent(b: &[u8]) -> Option<ContainerID> {
let mut bytes = &b[1..];
let _depth = leb128::read::unsigned(&mut bytes).unwrap();