Is is possible to get rid of this returnless return? I mean, it is really hard yo read, why not enforcing the use of return statement, always? Le 30 nov. 2013 19:59, "György Andrasek" <jur...@gmail.com> a écrit :
> On 11/30/2013 07:41 PM, Pierre Talbot wrote: > >> Do you have suggestions that could fit well for this kind of project? >> > > Make the following code compile: > > ``` > fn foo() { > bar() > fn bar() {} > } > ``` > > i.e. allow nested function declarations after a semicolonless return > expression. > _______________________________________________ > Rust-dev mailing list > Rust-dev@mozilla.org > https://mail.mozilla.org/listinfo/rust-dev >
_______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev