On Thu, Jun 7, 2012 at 3:32 PM, Niko Matsakis <[email protected]> wrote:
>
> I wrote this code.  I only didn't push it because I couldn't decide what to
> do with unspecified return types.  i.e., should `fn@() { 3 }` have an
> inferred return type of `int`, or be an error (because the return type is
> `()`)?

Coming from the felix/ocaml world, I'm a big fan of inference :) Any
chance we could infer the return type here, and on normal function
declarations as well?
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to