authorgravatar for mason@gamesbymason.comMason Remaley <mason@gamesbymason.com> 2026-07-29 02:28:19-07:00
committergravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2026-08-01 11:05:04+02:00
log91c6d8a092498b5d168cc8aaffdf72e0b825e340
treed8d87eb2cf9b5414b2fcb94bd26dcda7fa4846ff
parentf6c5f8b79908d6c1550fe535ceb26d1d8944c197

Fix mistake in @Union langref


1 files changed, 1 insertions(+), 1 deletions(-)

doc/langref.html.in+1-1
......@@ -5848,7 +5848,7 @@ fn cmpxchgWeakButNotAtomic(comptime T: type, ptr: *T, expected_value: T, new_val
58485848 {#header_open|@Union#}
58495849 <pre>{#syntax#}@Union(
58505850 comptime layout: std.lang.Type.ContainerLayout,
5851 /// Either the integer tag type, or the integer backing type, depending on `layout`.
5851 /// Either the enum tag type, or the integer backing type, depending on `layout`.
58525852 comptime ArgType: ?type,
58535853 comptime field_names: []const []const u8,
58545854 comptime field_types: *const [field_names.len]type,