mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-04 19:28:29 +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`.