fix duplicate example names

This commit is contained in:
Evan Almloff committed 2023-05-02 09:38:58 -05:00
1 parent 8bf2475802
commit ed4709101c
9 files changed
+41 -101

No files matched your search

+1 -1
View File
@@ -178,7 +178,7 @@ impl<'a> TreeMut for TreeMutView<'a> {
fn set_height(tree: &mut TreeMutView<'_>, node: NodeId, height: u16) {
let children = {
let mut node_data_mut = &mut tree.1;
let mut node = (&mut node_data_mut).get(node).unwrap();
let node = (&mut node_data_mut).get(node).unwrap();
node.height = height;
node.children.clone()
};