On 8/19/14 1:05 PM, Patrick Walton wrote:
I've submitted a pull request to make captures in closures *by-value* by default.
Oh, here's the pull request: https://github.com/rust-lang/rust/pull/16610 And here's the relevant RFC: https://github.com/rust-lang/rfcs/blob/master/active/0038-capture-by-value.md Related, the unboxed closures RFC: https://github.com/rust-lang/rfcs/blob/master/active/0044-closures.md Patrick _______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev