[rust-dev] returning functions in rust

Daniel Micay danielmicay at gmail.com
Fri Jan 10 11:01:15 PST 2014


On Fri, Jan 10, 2014 at 1:57 PM, Patrick Walton <pwalton at mozilla.com> wrote:
> It doesn't exist, outside of traits. Unboxed closures will probably make it
> possible to express once again though.
>
> Patrick

The tricky part is the need to infer the return type if it's defined
inside the function since it's different per-closure.


More information about the Rust-dev mailing list