[Blog] Closures: Magic Functions
I made a blog post explaining how closures are desugared and how they operate because I found quite a few questions here on users related to closures.
https://krishnasannasi.github.io/rust/syntactic/sugar/2019/01/17/Closures-Magic-Functions.html
Posted Jan 17, 2019, 9:51 PM UTC
241
Somewhat related: Florob gave a great talk on the Fn traits, see the video/slides linked here.