diff options
| author | Marijn Haverbeke <marijnh@gmail.com> | 2011-11-16 13:35:34 +0100 |
|---|---|---|
| committer | Marijn Haverbeke <marijnh@gmail.com> | 2011-11-18 12:49:01 +0100 |
| commit | cefff237bf36c4868f047ceb3e98646710ef7ac0 (patch) | |
| tree | 34f17776181c9841f492d1736bdaecc9ff48c912 /src/rt/rust_task.cpp | |
| parent | 4e0311214160ea0dc7d1ff7347db6c6550c79de2 (diff) | |
| download | rust-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
