On 19/08/14 04:39 PM, Evan G wrote:
> Is there a way to capture some variables by-value, and others
> by-reference? The 'ref' syntax you talked about seemed to be only for
> the whole argument list, but I might have misunderstood.

You can capture references by-value, because they're normal values. The
`ref` syntax is sugar for a common case.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to