From fe9766c5ba7a950f1f81aa13f986ea2cb57e4160 Mon Sep 17 00:00:00 2001 From: FnControlOption Date: Fri, 6 Mar 2026 22:33:28 +0100 Subject: [PATCH] langref: replace `std.meta.Int` with `@Int` --- doc/langref.html.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/langref.html.in b/doc/langref.html.in index e87decdf4a..bf6f039cdc 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -4865,7 +4865,7 @@ fn cmpxchgWeakButNotAtomic(comptime T: type, ptr: *T, expected_value: T, new_val {#header_close#} {#header_open|@errorFromInt#} -
{#syntax#}@errorFromInt(value: std.meta.Int(.unsigned, @bitSizeOf(anyerror))) anyerror{#endsyntax#}
+
{#syntax#}@errorFromInt(value: @Int(.unsigned, @bitSizeOf(anyerror))) anyerror{#endsyntax#}

Converts from the integer representation of an error into {#link|The Global Error Set#} type.

@@ -5106,7 +5106,7 @@ fn cmpxchgWeakButNotAtomic(comptime T: type, ptr: *T, expected_value: T, new_val {#header_close#} {#header_open|@intFromError#} -
{#syntax#}@intFromError(err: anytype) std.meta.Int(.unsigned, @bitSizeOf(anyerror)){#endsyntax#}
+
{#syntax#}@intFromError(err: anytype) @Int(.unsigned, @bitSizeOf(anyerror)){#endsyntax#}

Supports the following types: