2 ms·
What? All of this stuff has been in the language since 2014 at least. If you want stack-allocated closures which can safely close over references, this is the m
by kibwen 1y ago
What? All of this stuff has been in the language since 2014 at least. If you want stack-allocated closures which can safely close over references, this is the machinery you need. Rust's implementation is the state of the art.