News for hackers. Stuff that matters.
Re:Announcing Rust 1.20 by dbaupp on Thursday August 31, 2017 @07:20PM (#15144838)
The tree itself will need destructors to clean up allocations, and that's what's problematic here: if the tree is destroyed top down, the destructor of the children may access the parent which has already been invalidated, and similarly destroying bottom up risks the destructor of the parent accessing the children.

There are no comments on this comment yet.