mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 09:38:26 +03:00
f89f30fb2c
When only other `Weak` references remain, we can directly move the data into the new unique allocation as a plain memory copy.