about summary refs log tree commit diff
path: root/src/rt
diff options
context:
space:
mode:
authorMarijn Haverbeke <marijnh@gmail.com>2011-09-07 15:13:19 +0200
committerMarijn Haverbeke <marijnh@gmail.com>2011-09-12 11:06:54 +0200
commit4be7e1e5cd10646acc814da147f4e91dd610d45a (patch)
tree2df2d6cea1f30373c33437c35197cd517ea86623 /src/rt
parent476bbca87abb9aa17f84d1a8fb91bdefda4668ba (diff)
downloadrust-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')
0 files changed, 0 insertions, 0 deletions