Semantics of control flow operators (return, continue, ?
) in async blocks is severely underdocumented
#101444
Labels
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
As a novice Rust programmer, I was quite surprised that the following works:
I don't remeber reading that in any kind of docs, and looking at the
didn't show up any example of the syntax.
This is documented in the reference (rust-lang/reference#1262), but without an example.
The text was updated successfully, but these errors were encountered: