Skip to content
Snippets Groups Projects
Unverified Commit f323612a authored by John's avatar John Committed by GitHub
Browse files

Merge pull request #262 from YoshieraHuang/main

Fix tree::should_remove_root failing
parents b458c907 cded4c0b
No related branches found
No related tags found
No related merge requests found
......@@ -105,6 +105,8 @@ impl Tree {
if let Some(root_node) = self.root_node {
if root_node == index {
self.root_node = None;
self.parents.clear();
self.children.clear();
}
}
Vec::default()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment