diff options
| author | Marijn Haverbeke <marijnh@gmail.com> | 2011-11-21 11:59:27 +0100 |
|---|---|---|
| committer | Marijn Haverbeke <marijnh@gmail.com> | 2011-11-21 12:07:41 +0100 |
| commit | a6b2a2cdb1c93971ae5925ad312043754680180f (patch) | |
| tree | a095c185dd449cbc7a629ee415f218a485fc620c /src/rt/rust_task.cpp | |
| parent | 12f6e868f7c52a1329b91e16143c0879ffe747e4 (diff) | |
| download | rust-a6b2a2cdb1c93971ae5925ad312043754680180f.tar.gz rust-a6b2a2cdb1c93971ae5925ad312043754680180f.zip | |
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.
Diffstat (limited to 'src/rt/rust_task.cpp')
0 files changed, 0 insertions, 0 deletions
