Niko Matsakis
34b42eeb65
change list so that it must be used in a purely boxed fashion
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.
This is a compiler and suite of associated libraries and documentation for the Rust programming language. See LICENSE.txt for terms of copyright and redistribution. See http://www.rust-lang.org for more information.
Description
Languages
Rust
97.9%
Python
0.5%
JavaScript
0.4%
C++
0.3%
Shell
0.3%
Other
0.4%