8db319f957
`std::mem::take` can be used to replace a value of type `T` with `T::default()` instead of `std::mem::replace`.