From aad0b45e04caedacb669cf42505747abc5e5c356 Mon Sep 17 00:00:00 2001 From: Ron Kuris Date: Fri, 17 Nov 2023 21:36:44 +0000 Subject: [PATCH] Fix new clippy lint --- firewood/src/merkle.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firewood/src/merkle.rs b/firewood/src/merkle.rs index 32625192e..69bb641be 100644 --- a/firewood/src/merkle.rs +++ b/firewood/src/merkle.rs @@ -1609,7 +1609,7 @@ mod tests { fn branch(value: Vec, encoded_child: Option>) -> Node { let children = Default::default(); - let value = Some(value).map(Data); + let value = Some(Data(value)); let mut children_encoded = <[Option>; NBRANCH]>::default(); if let Some(child) = encoded_child {