mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
774268afc1
We're using `Layout` on both sides, so might as well skip the transmutes back and forth to `usize`. The mir-opt test shows that doing so allows simplifying the boxed-slice drop slightly, for example.