[rust-dev] RFC: Future-proof for unboxed closures

Niko Matsakis niko at alum.mit.edu
Sun Jan 26 13:29:46 PST 2014


On Sat, Jan 25, 2014 at 12:31:00AM -0500, Niko Matsakis wrote:
> As a bonus, `&my` is perfect for the `drop` trait.

Thinking on this more, I don't actually think `&my` is perfect for the
drop trait, or at least not any more perfect than normal by-value.  I
still think it's a good idea to address closure-fn-integration
(perhaps post 1.0).


Niko


More information about the Rust-dev mailing list