summaryrefslogtreecommitdiff
path: root/receme/src/coralgebra.rs
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2023-07-21 11:37:09 +0800
committerJSDurand <mmemmew@gmail.com>2023-07-21 11:37:09 +0800
commitd31961c3ef5341413efb8681302ebd666dbcc4a5 (patch)
treeed4433c73bc8c3ac477474f83e7f9236e83018db /receme/src/coralgebra.rs
parent07be36ca81592e1b24b9086303002496cf70982a (diff)
splone: splitting parents properly.
* chain/src/item/default/splone.rs: Previouslt the function `split_node` used to split the parents of splitted nodes by an ugly logic. Now that is moved into a dedicated function, which properly handles the splitting of parents, including the case when the new node is open whereas the old node is closed, in which situation we ought to put the new node under the opened node only, as a closed node cannot contain an open node as a child by definition.
Diffstat (limited to 'receme/src/coralgebra.rs')
0 files changed, 0 insertions, 0 deletions