0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/doc
Mathieu Guay-Paquet f270bef9a4
docs: document the nosuspend keyword (#7972)
* docs: document the nosuspend keyword

* Specify that resuming from suspend is allowed in nosuspend

* Fix the description of the requirements of nosuspend

* Make use of nosuspend in some example code.

This is mainly motivated by the incorrect claim that "there would be
no way to collect the return value of amain, if it were something
other than void".
History 2021-04-02 14:57:42 -04:00
..
docgen.zig docgen: fix typo 2021-04-02 12:08:52 -04:00
langref.html.in docs: document the nosuspend keyword (#7972) 2021-04-02 14:57:42 -04:00