mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 03:07:24 +03:00
d1da2387a4
Use a single static for all default slice Arcs. Also adds debug_asserts in Drop for Weak/Arc that the shared static is not being "dropped"/"deallocated". As per https://github.com/rust-lang/rust/pull/124640#pullrequestreview-2064962003 r? dtolnay