mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-02 06:28:20 +03:00
34b42eeb65
The old way was inconsistent---the head was unboxed but the tail was boxed. This resulted in numerous needless copies and also made the borrow check unhappy, because the head tended to be stored in mutable memory.