[rust-dev] returning functions in rust
glaebhoerl at gmail.com
Sat Jan 11 06:03:09 PST 2014
On Fri, Jan 10, 2014 at 8:01 PM, Daniel Micay <danielmicay at gmail.com> wrote:
> On Fri, Jan 10, 2014 at 1:57 PM, Patrick Walton <pwalton at mozilla.com>
> > It doesn't exist, outside of traits. Unboxed closures will probably make
> > 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.
I wrote up a small proposal for a feature that could help with this:
> Rust-dev mailing list
> Rust-dev at mozilla.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rust-dev