mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-29 22:53:54 +00:00
fix: Drop guard was deallocating with the incorrect size InPlaceDstBufDrop holds onto the allocation before the shrinking happens which means it must deallocate the destination elements but the source allocation. Thanks `@cuviper` for spotting this.