Skip to content

Commit

Permalink
Fix new clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rkuris committed Nov 17, 2023
1 parent 175e08b commit aad0b45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firewood/src/merkle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1609,7 +1609,7 @@ mod tests {

fn branch(value: Vec<u8>, encoded_child: Option<Vec<u8>>) -> Node {
let children = Default::default();
let value = Some(value).map(Data);
let value = Some(Data(value));
let mut children_encoded = <[Option<Vec<u8>>; NBRANCH]>::default();

if let Some(child) = encoded_child {
Expand Down

0 comments on commit aad0b45

Please sign in to comment.