my first ever pull request to the #rust language has been merged! 🎉
github.com/rust-lang/rust/pull…
it's a documentation change to clarify how async blocks behave in regards to control flow. there was only one requested change, so i did a pretty good job of matching the tone and style of the other docs.
it was really easy to contribute once i found out how to use x.py. strangely enough, there doesn't seem to be an enforced line length limit (at least not for this section of the docs) so i just matched what the surrounding text was doing.
coincidentally, the contributor who reviewed my code is the same person who made the papaya crate i reported a memory safety bug in a month or two ago.
my changes are scheduled to land in rust 1.88, which should release on the 26th of june!

Clarify `async` block behaviour by Lynnesbian · Pull Request #139608 · rust-lang/rust
Adds some documentation for control flow behaviour pertaining to return and ? within async blocks. Fixes (or at least improves) #101444. r? rust-lang/docsGitHub
marley the butterfly 🦋:sparkles_trans:
in reply to Lynnesbian • • •Lynnesbian
in reply to marley the butterfly 🦋:sparkles_trans: • • •