diff options
| author | bnprks <bnprks@users.noreply.github.com> | 2021-06-09 00:37:07 -0700 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2021-08-20 14:16:04 +0300 |
| commit | cfb2827b0a9efaf3937db27dbe3352cbb612466b (patch) | |
| tree | bc18678f1754d2f8a8010f99eb789e11baec0920 /src | |
| parent | 0cecdca6a24d5009d543962f62c907aa45ec82ff (diff) | |
| download | zig-cfb2827b0a9efaf3937db27dbe3352cbb612466b.tar.gz zig-cfb2827b0a9efaf3937db27dbe3352cbb612466b.zip | |
Clarify async/await language documentation.
The async/await documentation was somewhat hard for me to follow when first learning. Two particular sticking points were
1. The alphabet example constructing the string "abcdefghi" breaks the stated rule that every async has a matching await.
2. It was somewhat unclear to me what the rules for control flow were around async/await constructs.
I've tried to improve this documentation with some minimal explanatory edits, which are correct to the best of my beginner's understanding & experimentation.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions
