mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-02 15:56:09 +03:00
7dc331faef
Previously we swapped to events in the buffer, but that might be wrong if there aer `forward_parent` links pointing to the swapped-out node. Let's do the same via parent links instead, keeping the nodes in place