Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions doc/langref.html.in
Original file line number Diff line number Diff line change
Expand Up @@ -421,8 +421,7 @@
{#code|unattached_doc-comment.zig#}

<p>
Doc comments can be interleaved with normal comments. Currently, when producing
the package documentation, normal comments are merged with doc comments.
Doc comments can be interleaved with normal comments, which are ignored.
</p>
{#header_close#}
{#header_open|Top-Level Doc Comments#}
Expand Down
2 changes: 1 addition & 1 deletion doc/langref/values.zig
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ pub fn main() void {
});

// error union
var number_or_error: anyerror!i32 = error.ArgNotFound;
var number_or_error: anyerror!i32 = error.ArbitraryErrorName;

print("\nerror union 1\ntype: {}\nvalue: {!}\n", .{
@TypeOf(number_or_error),
Expand Down