handle height
This commit is contained in:
1 parent
dcad2fe8a2
commit
f9059c3f30
5 files changed
+146
-86
No files matched your search
@@ -21,7 +21,6 @@ pub struct NodeData {
|
||||
pub node_type: NodeType,
|
||||
/// The number of parents before the root node. The root node has height 1.
|
||||
pub height: u16,
|
||||
height_dirty: bool,
|
||||
}
|
||||
|
||||
/// A type of node with data specific to the node type. The types are a subset of the [VNode] types.
|
||||
@@ -48,7 +47,6 @@ impl<S: State> Node<S> {
|
||||
node_type,
|
||||
height: 0,
|
||||
node_id: NodeId(0),
|
||||
height_dirty: true,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user