diff options
| author | Manlio Perillo <manlio.perillo@gmail.com> | 2022-12-11 17:40:36 +0100 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-12-12 15:09:45 -0500 |
| commit | 09cc6b4b9e76434d734ed131ed48ca849bf8a6ba (patch) | |
| tree | 5e80875ea8f998b39120214e84d012df3ae1e9db /lib/std | |
| parent | e0ba8b8ae5237f8b6da1d19c1088f756fd51eb57 (diff) | |
| download | zig-09cc6b4b9e76434d734ed131ed48ca849bf8a6ba.tar.gz zig-09cc6b4b9e76434d734ed131ed48ca849bf8a6ba.zip | |
langref: improve the defer section
Split the original `defer.zig` doctest into 3 doctest:
1. Document the defer keyword
2. Document that the return statement is not allowed inside a defer
expression
3. Document the errdefer keyword
Replace "method" with "expression" in the text `defer method`.
Diffstat (limited to 'lib/std')
0 files changed, 0 insertions, 0 deletions
