| ▲ | Klonoar 6 hours ago | |||||||||||||
If you understand the borrow checker, closures are just not that much on top of things. In fact I can’t remember the last time I had to fight with them. | ||||||||||||||
| ▲ | convolvatron 5 hours ago | parent [-] | |||||||||||||
I really wanted just yesterday to create a dyn AsyncFnMut, which apparently still needs async-trait to build the stable. but I was pretty much unable to figure out how to make that work with a lambda. saying this is all trivial once you understand the borrow machinery is really understating it. | ||||||||||||||
| ||||||||||||||