3 ms·
There's a reserved and unimplemented keyword "become", which is like "return" except it requires that it can optimize the tail call (and is a compile-time error
by geofft 11y ago
There's a reserved and unimplemented keyword "become", which is like "return" except it requires that it can optimize the tail call (and is a compile-time error if it can't). See this comment: https://github.com/rust-lang/rfcs/issues/271#issuecomment-189386398 https://github.com/rust-lang/rfcs/issues/271#issuecomment-18...
Nobody's tried implementing it recently, though.