fixup for previous commit

This commit is contained in:
Dietmar Maurer 2020-06-20 06:15:26 +02:00
parent 1cb46c6f65
commit d2ce211899
1 changed files with 1 additions and 2 deletions

View File

@ -240,8 +240,7 @@ where
node: replace(&mut cur.node, node),
level: replace(&mut cur.level, vdev_level),
children_of_parent: replace(&mut cur.children_of_parent, Vec::new()),
}); cur.children_of_parent = prev.children_of_parent;
});
} else {
// same indentation level, add to children of the previous level:
cur.children_of_parent.push(Value::Object(