diff options
| author | Manlio Perillo <manlio.perillo@gmail.com> | 2022-12-12 09:03:51 +0100 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-12-13 15:00:42 -0500 |
| commit | 89a9e927ad97bf1ef5f45a0a004dd2d46390e441 (patch) | |
| tree | f92edbd710b92884e43f1dab502c0bb3fa3ab010 /src/codegen | |
| parent | 1d5368fa35740f64d81f755588edc5c6698036ec (diff) | |
| download | zig-89a9e927ad97bf1ef5f45a0a004dd2d46390e441.tar.gz zig-89a9e927ad97bf1ef5f45a0a004dd2d46390e441.zip | |
langref: improve the test_fn_reflection.zig doctest
Currently, the test_fn_reflection.zig doctest has an example of
.Fn.is_var_args. This example can confuse the reader, since there is no
documentation about variadic functions and is_var_args is mainly used in
the compiler.
Remove the example with .Fn.is_var_args and add instead examples with
.Fn.return_type and .Fn.is_generic.
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions
