mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-30 21:16:27 +03:00
649e80184b
This makes sure that &[] is just as efficient as indirecting through unsafe code (from_raw_parts). No new stable guarantee is intended about whether or not we do this, this is just an optimization. Co-authored-by: Ralf Jung <post@ralfj.de>