On Sun, Apr 7, 2013 at 6:01 PM, Heri Sim <[email protected]> wrote: > Passing in a stack-local variable to a function or closure (that > requires arguments to be passed by reference), should not require the > ampersand (&) in the caller. Why can't the compiler figure this out? >
I would attribute this as being a good language feature, in my opinion. I'd rather be explicit at the call site.
_______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
