diff options
| author | Manlio Perillo <manlio.perillo@gmail.com> | 2023-06-17 22:35:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-17 16:35:50 -0400 |
| commit | 366e3c657fe7d898465a0e822f1999f0572f832e (patch) | |
| tree | 51e5f36f48d9d9612b71236526c2328b515ddf8c /lib/std | |
| parent | 6e84f469904a24615a6721265a88ad8dcb4ed83a (diff) | |
| download | zig-366e3c657fe7d898465a0e822f1999f0572f832e.tar.gz zig-366e3c657fe7d898465a0e822f1999f0572f832e.zip | |
Langref misc fix and improvement (#14695)
* langref: improve the Hello World section
Clarify that a Zig source file must have the .zig extension.
Fix a typo.
* langref: improve the Comments section
- Document how doc comments are used by -femit-docs
- Rename "Doc comments" to "Doc Comments", for consistency
- Clarify that placing a doc comment in an unexpected place is a
compiler error and add two incorrect examples
- Document the current Autodoc behavior, when normal comments are
interleaved with doc comments
- Rewrite the documentation for top-level doc comments
* langref: improve the Zig Test section
Document that the test name can also be an identifier, in addition to a
string literal.
Update the test output for the first test.
Closes #14085
Diffstat (limited to 'lib/std')
0 files changed, 0 insertions, 0 deletions
