diff --git a/doc/langref.html.in b/doc/langref.html.in index 28d8745a81..2d853e8611 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -2743,6 +2743,9 @@ test "simple union" {
In order to use {#link|switch#} with a union, it must be a {#link|Tagged union#}.
++ To initialize a union when the tag is a {#link|comptime#}-known name, see {#link|@unionInit#}. +
{#header_open|Tagged union#}Unions can be declared with an enum tag type.