3 ms·
Yes, I believe both Rust and for sure Go support closures that can capture enclosing scoped variables. Unless there is an obvious example of where this breaks
by deckarep 8y ago
Yes, I believe both Rust and for sure Go support closures that can capture enclosing scoped variables.
Unless there is an obvious example of where this breaks down in Go and Rust, I’d certainly like to know how.