about summary refs log tree commit diff
path: root/src/rt/rust_task.cpp
diff options
context:
space:
mode:
authorMarijn Haverbeke <marijnh@gmail.com>2011-11-21 11:59:27 +0100
committerMarijn Haverbeke <marijnh@gmail.com>2011-11-21 12:07:41 +0100
commita6b2a2cdb1c93971ae5925ad312043754680180f (patch)
treea095c185dd449cbc7a629ee415f218a485fc620c /src/rt/rust_task.cpp
parent12f6e868f7c52a1329b91e16143c0879ffe747e4 (diff)
downloadrust-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