2 ms·
The Rust closure syntax come from Ruby: https://blog.appsignal.com/2018/09/04/ruby-magic-closures-in-ruby-blocks-procs-and-lambdas.html#:~:text=A%20closure%20i
by nicoburns 6y ago
The Rust closure syntax come from Ruby:
https://blog.appsignal.com/2018/09/04/ruby-magic-closures-in-ruby-blocks-procs-and-lambdas.html#:~:text=A%20closure%20is%20a%20first%2Dclass%20function%20with%20an%20environment.&text=The%20closure%20will%20retain%20its,of%20blocks%2C%20procs%20and%20lambdas https://blog.appsignal.com/2018/09/04/ruby-magic-closures-in....