Undo botched optimisation

This commit is contained in:
Michael Sproul
2026-03-25 14:12:46 +11:00
parent 8b448864f0
commit cec5ce179d

View File

@@ -1380,8 +1380,6 @@ impl ProtoArray {
} else {
let children = self
.nodes
.get(node.proto_node_index..)
.ok_or(Error::InvalidNodeIndex(node.proto_node_index))?
.iter()
.enumerate()
.filter(|(_, child_node)| {