diff options
| author | Marijn Haverbeke <marijnh@gmail.com> | 2011-09-07 15:13:19 +0200 |
|---|---|---|
| committer | Marijn Haverbeke <marijnh@gmail.com> | 2011-09-12 11:06:54 +0200 |
| commit | 4be7e1e5cd10646acc814da147f4e91dd610d45a (patch) | |
| tree | 2df2d6cea1f30373c33437c35197cd517ea86623 /src/rt/rust_kernel.cpp | |
| parent | 476bbca87abb9aa17f84d1a8fb91bdefda4668ba (diff) | |
| download | rust-4be7e1e5cd10646acc814da147f4e91dd610d45a.tar.gz rust-4be7e1e5cd10646acc814da147f4e91dd610d45a.zip | |
Pass all arguments by reference, make immut alias mode equiv to value
Arguments that can't be safely referenced will be implicitly copied. (Warnings for expensive copies will be forthcoming.) This will allow us to get rid of most of the ampersands in function signatures. See [1]. [1] https://mail.mozilla.org/pipermail/rust-dev/2011-September/000759.html
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions
