Hi everyone

I was just wondering why returns from block functions have been banned?
Possibly I'm writing code in an unusual style, but I have some fairly long
block functions - being able to use 'ret' to immediately return feels quite
a bit nicer than having to arrange things so that the block itself
evaluates as an expression.

Cheers
Grahame
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to