Comment
Comment by justinpombrio
This is a pretty low quality rant. Going example by example:
you can this this in loop style if you want:
or if you prefer, in iter style:
The next two examples can be written:
There is an ergonomics issue around the fact that if you stick `?` or `.await()` in a closure, it returns to that closure instead of the function containing it. But the way this issue manifests itself is the standard library having a pile of different variations on methods, like `.map()` vs. `.filter_map()`. That's the thing to complain about, not the fact that closures work the same way they do in every other language.