π¬ video.infosec.exchange video.infosec.exchange
Rust: how to return a closure from a function, and what are closures anyway?
Sometimes we want to return a closure from a function, and sometimes that doesn't work the way we might expect. This will lead us on to how we should think of closures: they're not really like functions so much as automatically-generated structs with types we are not allowed to name. And all closures have different types, even if they're identical...? Read my blog at https://artificialworlds.net/blog Follow me on mastodon: [@andybalaam@mastodon.social](https://mastodon.social/@andybalaam)
βhttps://video.infosec.exchange/w/sQnHfXhASaWKiHegokruXr
Indexiert von findnix.eu Β· Eigene Seite einreichen