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-16 13:35:34 +0100
committerMarijn Haverbeke <marijnh@gmail.com>2011-11-18 12:49:01 +0100
commitcefff237bf36c4868f047ceb3e98646710ef7ac0 (patch)
tree34f17776181c9841f492d1736bdaecc9ff48c912 /src/rt/rust_task.cpp
parent4e0311214160ea0dc7d1ff7347db6c6550c79de2 (diff)
downloadrust-cefff237bf36c4868f047ceb3e98646710ef7ac0.tar.gz
rust-cefff237bf36c4868f047ceb3e98646710ef7ac0.zip
Make tag, resource and object constructors take their arguments by copy
Doing something like some([1, 2, 3]) will now no longer create a temporary
copy of the vector. It will also be easier for the kind checker to see that
putting a resource into a data-structure constructor is safe.
Diffstat (limited to 'src/rt/rust_task.cpp')
0 files changed, 0 insertions, 0 deletions