mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 02:00:00 +03:00
4a941d384d
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.