Marijn Haverbeke
a6b2a2cdb1
Separate vec::map and vec::map_mut
The safe-reference checker requires a copy of each mapped-over element only when the vector is mutable. Let's not pay that cost for immutable vectors.
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
96.2%
RenderScript
0.7%
JavaScript
0.6%
Shell
0.6%
Fluent
0.4%
Other
1.3%