mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 14:52:56 +03:00
e63e769c9b
Remove unneeded `drop_in_place` calls Might as well pull this out from rust-lang/rust#144561 because this is still used in things like `Vec::truncate` where it'd be nice to allow it be removed if inlined enough to see that the type is `Copy`. So long as perf says it's ok, at least 🤞