diff --git a/doc/langref.html.in b/doc/langref.html.in
index 551f3ff76945b120039bab660dfbd08d00b88a19..769f6d586b2908e7f763a4dd75da412854833580 100644
--- a/doc/langref.html.in
+++ b/doc/langref.html.in
@@ -5667,7 +5667,7 @@ pub const TypeInfo = union(TypeId) {
pub const Union = struct {
layout: ContainerLayout,
- tag_type: type,
+ tag_type: ?type,
fields: []UnionField,
defs: []Definition,
};