From 91c6d8a092498b5d168cc8aaffdf72e0b825e340 Mon Sep 17 00:00:00 2001 From: Mason Remaley Date: Wed, 29 Jul 2026 02:28:19 -0700 Subject: [PATCH] Fix mistake in @Union langref --- doc/langref.html.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/langref.html.in b/doc/langref.html.in index 9a19c4d95d7fed570085253b090d20ee43d1edf4..1a0d531b591faabdac3d75367ababda8eafcfa6d 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -5848,7 +5848,7 @@ fn cmpxchgWeakButNotAtomic(comptime T: type, ptr: *T, expected_value: T, new_val {#header_open|@Union#}
{#syntax#}@Union(
     comptime layout: std.lang.Type.ContainerLayout,
-    /// Either the integer tag type, or the integer backing type, depending on `layout`.
+    /// Either the enum tag type, or the integer backing type, depending on `layout`.
     comptime ArgType: ?type,
     comptime field_names: []const []const u8,
     comptime field_types: *const [field_names.len]type,
-- 
2.54.0