aboutsummaryrefslogtreecommitdiff
path: root/lib/std
diff options
context:
space:
mode:
authorManlio Perillo <manlio.perillo@gmail.com>2022-12-11 17:40:36 +0100
committerAndrew Kelley <andrew@ziglang.org>2022-12-12 15:09:45 -0500
commit09cc6b4b9e76434d734ed131ed48ca849bf8a6ba (patch)
tree5e80875ea8f998b39120214e84d012df3ae1e9db /lib/std
parente0ba8b8ae5237f8b6da1d19c1088f756fd51eb57 (diff)
downloadzig-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