mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-25 03:38:27 +00:00
There are two places that handle normal delayed bugs. This commit factors out some repeated code. Also, we can use `std::mem::take` instead of `std::mem::replace`.