mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-05 01:24:03 +00:00
Don't drop uninit memory when `MapWindows::clone` panics Fixes https://github.com/rust-lang/rust/issues/156501, using the approach suggested in @bjorn3's comment https://github.com/rust-lang/rust/pull/156517#discussion_r3232903243