[rust-dev] idea: access modifiers as part of function signature
graydon at mozilla.com
Mon Apr 9 10:58:47 PDT 2012
On 12-04-07 10:03 AM, Kobi Lurie wrote:
> I feel that most of the times the distinction of ref/value is about low
> level performance.
It is sometimes, but passing a mutable reference says pretty clearly
"this function is going to change this argument". I think we already
support (and will continue to support) expressing this sort of
difference via reference, mutable-reference move and value modes.
More information about the Rust-dev