Skip to content

Commit 0b8e14f

Browse files
committed
starknet_patricia: rename standalone adjective variable
1 parent 190a11b commit 0b8e14f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/starknet_patricia/src/patricia_merkle_tree/updated_skeleton_tree/create_tree_helper.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ impl UpdatedSkeletonTreeImpl {
240240
}
241241
}
242242
};
243-
let updated = match original_node {
243+
let updated_node = match original_node {
244244
OriginalSkeletonNode::Binary => UpdatedSkeletonNode::Binary,
245245
OriginalSkeletonNode::Edge(path_to_bottom) => {
246246
UpdatedSkeletonNode::Edge(*path_to_bottom)
@@ -251,7 +251,7 @@ impl UpdatedSkeletonTreeImpl {
251251
continue;
252252
}
253253
};
254-
self.skeleton_tree.insert(index, updated);
254+
self.skeleton_tree.insert(index, updated_node);
255255
}
256256

257257
return TempSkeletonNode::Original(OriginalSkeletonNode::Binary);

0 commit comments

Comments
 (0)