mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-06 04:06:31 +00:00

This also switches from `split_off(0)` to `std::mem::take` when emptying the accumulated list of blocks, because `split_off(0)` handles capacity in a way that is unintuitive when used in a loop.