Comments

    Shell

    A doc comment is one that begins with exactly three slashes (i.e. but not ); multiple doc comments in a row are merged together to form a multiline doc comment. The doc comment documents whatever immediately follows it.

    Doc comments are only allowed in certain places; eventually, it will become a compile error to have a doc comment in an unexpected place, such as in the middle of an expression, or just before a non-doc comment.

    Top-Level Doc Comments

    tldoc_comments.zig